Smart (Components) Toolkit

Create advanced, state-aware logic units with multiple formulas.
Create advanced, state-aware logic units with multiple formulas.

Read more ›

Supported devices

Flow cards

Click on a device above to show related Flow cards only.

When...

Logic Device
Turned on
Logic Device
Turned off
Logic Device
The generic alarm turned on
Logic Device
The generic alarm turned off
Logic Device
Configuration alarm changed to Alarm state
i
Triggers when a configuration error is detected or resolved (invalid JSON or formula syntax).
Logic Device
Configuration alarm state changed
i
Triggers when the configuration alarm state changes (error detected or resolved).
Logic Device
Device alarm changed to Alarm state
i
Triggers when the formula result changes to the selected value. On = formula TRUE, Off = formula FALSE. Use this to run flows when your logic condition becomes true or false.
Logic Device
Device alarm state changed
i
Triggers whenever the formula result changes (either direction). Use the 'Alarm state' token to check the new value. Ideal for logging or notification flows.
Logic Device
Device alarm turned Alarm state
i
Triggers when the formula result changes to TRUE (On) or FALSE (Off). The alarm reflects the formula output - use this to react to logic state changes.
Logic Device
Device on-state changed
i
Triggers when the device is toggled on or off (enabled/disabled). Use this to detect when someone enables or disables the logic evaluation - not the formula result.
Logic Device
Device turned State
i
Triggers when the device is enabled or disabled (on/off toggle). This controls whether the device evaluates formulas - not the formula result itself.
Logic Unit (Dynamic)
Turned on
Logic Unit (Dynamic)
Turned off
Logic Unit (Dynamic)
The generic alarm turned on
Logic Unit (Dynamic)
The generic alarm turned off
Logic Unit (Dynamic)
Configuration alarm changed to Alarm state
i
Triggers when a configuration error is detected or resolved (invalid JSON or formula syntax).
Logic Unit (Dynamic)
Configuration alarm state changed
i
Triggers when the configuration alarm state changes (error detected or resolved).
Logic Unit (Dynamic)
Formula Formula changed to Result
i
Triggers when the selected formula changes to the specified result (TRUE or FALSE).
Logic Unit (Dynamic)
Formula Formula timed out
Smart (Components) Toolkit
Device type configuration alarm changed to Alarm state
i
Triggers when any device's configuration error is detected or resolved. You can filter by device type.
Smart (Components) Toolkit
Device type configuration alarm state changed
i
Triggers when any device's configuration alarm state changes (error detected or resolved). You can filter by device type.
State Capture Device
Turned on
State Capture Device
Turned off
State Capture Device
Capture/Apply error occurred
i
Triggers when capture or apply fails (e.g., device unavailable, stack empty). Use 'Error' and 'State name' tokens for logging or notifications.
State Capture Device
State was applied
i
Triggers after devices have been restored to a saved state. Fires for Apply, Pop, and Peek operations. Use 'State name' token to identify which state was applied.
State Capture Device
State was captured
i
Triggers when a state is saved (via Capture or Push). The 'State name' token contains the name used, or '__stack__' for stack operations.
State Device
Turned on
State Device
Turned off
State Device
The generic alarm turned on
State Device
The generic alarm turned off
State Device
State applied successfully
i
Triggers when the State Device successfully applies all configured device states. Use this to chain additional actions after the state is fully applied.
State Device
Error occurred
i
Triggers when an error occurs while applying the state (e.g., device not found, capability unavailable). The 'Error' token contains the error message.

And...

Logic Device
Is turned on
Logic Device
The generic alarm is on
Logic Device
Device alarm is Alarm state
i
The alarm reflects the formula result: ON when the formula evaluates to TRUE, OFF when FALSE. Use this to check the current logic state of the device.
Logic Device
Device is turned State
i
Checks if the device is enabled or disabled. When OFF, the device stops evaluating the formula and ignores input changes. The alarm state remains unchanged.
Logic Device
Formula has timed out
i
Checks if the formula has timed out (no input received within the configured timeout period). Configure timeout in device settings.
Logic Device
Device has error
i
Checks if the device has any error (configuration error, timeout, or evaluation error). Use 'Clear error' action to reset the error state.
Logic Unit (Dynamic)
Is turned on
Logic Unit (Dynamic)
The generic alarm is on
Logic Unit (Dynamic)
Formula Formula has timed out
Logic Unit (Dynamic)
Formula Formula result is Value
Logic Unit (Dynamic)
Device has error
Smart (Components) Toolkit
Has error in Error message
Smart (Components) Toolkit
Wait until Device Capability becomes Target value (timeout: Timeout duration Timeout unit, id: Waiter ID (optional))
i
This card waits until a device capability reaches a specific value. If the value is already correct, it proceeds immediately (YES). If timeout expires before the value matches, it takes the NO path. Leave Waiter ID empty for auto-generation.
State Capture Device
Is turned on
State Capture Device
State State name exists
i
Checks if a named state with the specified name has been saved. Useful to avoid errors when applying a state that might not exist yet.
State Capture Device
Stack depth Comparison Depth
i
Checks the number of states currently on the stack. Useful for limiting stack growth or implementing complex undo scenarios.
State Capture Device
The state stack is empty
i
Checks if the state stack has any saved states. Use this before Pop operations to avoid errors when the stack is empty.
State Device
Is turned on
State Device
The generic alarm is on

Then...

Logic Device
Turn on
Logic Device
Turn off
Logic Device
Toggle on or off
Logic Device
Clear error
i
Clears the device's error state and re-evaluates the formula. Use this after fixing the issue that caused the error.
Logic Device
Evaluate formula
i
Manually triggers a re-evaluation of the formula using current input values. Useful when you want to force an update without waiting for input changes.
Logic Device
Validate configuration
i
Manually trigger configuration validation. Checks for JSON errors, invalid formulas, and duplicate IDs. Updates the configuration alarm accordingly.
Logic Unit (Dynamic)
Turn on
Logic Unit (Dynamic)
Turn off
Logic Unit (Dynamic)
Toggle on or off
Logic Unit (Dynamic)
Clear error state for formula Formula
Logic Unit (Dynamic)
Re-evaluate all formulas
Logic Unit (Dynamic)
Evaluate formula Formula
Logic Unit (Dynamic)
Set all inputs from JSON: JSON values (for ALL formulas)
i
⚠️ Sets ALL input values at once for ALL formulas in this Logic Unit from a JSON object. All formulas will receive the same input values. Use this when you want to update multiple inputs for all formulas simultaneously.
Logic Unit (Dynamic)
Set input Input to Value (for ALL formulas)
i
⚠️ Sets the same input value for ALL formulas in this Logic Unit. All formulas that use this input will be updated. Use this when you want to control multiple formulas together.
Logic Unit (Dynamic)
Set input Input to Value for formula Formula
i
✅ Sets the input value for ONE specific formula only. Other formulas are not affected. Use this when you want to control formulas independently.
Logic Unit (Dynamic)
Validate configuration
i
Manually trigger configuration validation. Checks for JSON errors, invalid formulas, and duplicate IDs. Updates the configuration alarm accordingly.
Smart (Components) Toolkit
Action waiter gate Waiter ID
i
Enable, disable or stop a waiter gate by its ID
Smart (Components) Toolkit
Evaluate Input value First operator min Logical operator Second operator max with rules Rules
Advanced
Smart (Components) Toolkit
Wait Duration Unit
i
Pauses the flow for the specified time before continuing.
State Capture Device
Turn on
State Capture Device
Turn off
State Capture Device
Toggle on or off
State Capture Device
Apply state State name
i
Restores all devices to the values stored in the selected named state. Devices are updated in the order they were configured.
State Capture Device
Capture state to State name
i
Reads current values from all configured devices and saves them under the specified name. Overwrites any existing state with the same name.
State Capture Device
Clear the state stack
i
Removes all states from the stack without applying any of them. Use this to reset the undo history or free up memory when states are no longer needed.
State Capture Device
Delete state State name
i
Permanently removes a named state from storage. This cannot be undone. The state will no longer appear in the autocomplete list.
State Capture Device
Export all named states
i
Exports all named states as a JSON string. Use the 'JSON data' token to save to a file, send via webhook, or store in a variable for backup purposes.
Advanced
State Capture Device
Get state State name as JSON
i
Retrieves a single named state as JSON. The output includes captured values and timestamp. Use for debugging, logging, or sharing state data with external systems.
Advanced
State Capture Device
Import named states from JSON data
i
Imports states from JSON exported by 'Export named states'. Existing states with matching names are overwritten. Use to restore backups or sync between devices.
State Capture Device
Peek and apply state (keep on stack)
i
Restores devices to the most recent stack state WITHOUT removing it. Useful when you want to reapply the same state multiple times or preview before committing with Pop.
State Capture Device
Pop and apply state from stack
i
Removes the most recent state from the stack and restores all devices to those values. Like an 'undo' operation. Fails if the stack is empty - use 'Stack is empty' condition to check first.
State Capture Device
Push current state onto stack
i
Captures current device values and adds them to the top of the stack. The stack works like an undo history - use Pop to restore the most recent state, or Peek to apply without removing.
State Capture Device
Set state State name from JSON data
i
Creates or updates a named state from JSON (must include 'values' object). Use to programmatically define states or receive state data from external sources via webhooks.
State Device
Turn on
State Device
Turn off
State Device
Toggle on or off
State Device
Apply state (Reset all: Turn off other State Devices first?)
i
Applies the pre-configured state to all devices. Enable 'Turn off other State Devices first' to ensure only this state is active (like a scene selector).

Support

Having an issue with this app? Contact the developer here.

What’s new

Version 1.8.1 — Bug fix + better hints

View changelog

Smart (Components) Toolkit

This app can manage your entire Homey.

Smart (Components) Toolkit is not compatible with the selected Homey.

Smart (Components) Toolkit will install on Homey shortly.
Install App