I'm rather new to it myself, but I think it might be in the condition
part of your routine. If you can post your example it would be easier to
say for certain, but you might be missing a type: or conditions:value.
In the "conditions:" an array (of co...
Idea: Use other device state / time of day / ... as input for conditions
and other devices.Example Automation: If the measured ambient
temperature is higher than the set thermostat temperature, turn on a
Fan.When the volume of one speaker is changed,...