Skip to content

Device Flowcards Actions set sensor value oc

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

Set a virtual sensor value (select)

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

Set a capability selected from the device list.

Card ID: set_sensor_value_oc.

Arguments, tokens and behavior

Select a Device, then choose its capability from the Virtual Sensor autocomplete list and supply Value as text or a token. There are no output tokens. The list is built from that device’s capabilities; selection does not guarantee that the value is valid. Numeric text is parsed as a number; true and false (case-insensitive) become booleans; other nonnumeric text remains text. Numeric-looking strings become numbers. Invalid or incompatible values can fail. This writes the virtual capability, not a physical sensor.

Example

Create a Device with measure_temperature. Add this action in a Flow, choose that device and measure_temperature from the list, and enter 21.5 as Value. Run it and open the device to check the temperature. A real sensor’s temperature token can replace the fixed value.

More examples · Troubleshooting

Clone this wiki locally