Set a Homey logic variable
homey_variable_setUpdate an existing Homey logic variable with a value of the correct type (string, number, or boolean). Flows read these variables, so the change can alter what the house does next.
Instructions
Writes a new value to an existing Homey logic variable. A variable is one of exactly three types: string, number or boolean, and the new value has to match the type the variable already has. Flows read these variables, so changing one can change what the house does next. This tool never creates a variable; use homey_home_overview to see which ones exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The new value, matching the variable type. | |
| variable | Yes | Logic variable id or name. |