Skip to content

Device Flowcards Actions set sensor value

Arie J. Godschalk edited this page Nov 15, 2026 · 1 revision

Set a virtual sensor value (text)

Home > Devices > Device > Flowcards > Actions > Set a virtual sensor value (text)

Set a capability using its typed ID.

Card ID: set_sensor_value.

Arguments, tokens and behavior

Select a Device, enter the exact capability ID in Sensor, and supply Value as text or a token. There are no output tokens. The capability must exist on that device and accept the converted value. Numeric text is parsed as a number; true and false (case-insensitive) become booleans; other nonnumeric text remains text. Numeric-looking strings are converted to numbers, so do not use this for numeric-looking string values. Invalid or incompatible values can fail. The write directly sets the capability, not a physical sensor.

Example

Create a Device with measure_temperature. In a Flow choose this action for it, type measure_temperature in Sensor, and put 21.5 in Value. Run the Flow; open the device to see the measured temperature. To copy a real sensor instead, insert its temperature token in Value and use its change trigger.

More examples · Troubleshooting

Clone this wiki locally