Trying to setup automation based on github documentation
Set temperature to 24 in heat mode
device_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
domain: climate
automation:
actions:
action: climate.set_temperature
target:
entity_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
data:
temperature: 24
hvac_mode: heat
alias: Set main floor to 78
Error: Message malformed: extra keys not allowed @ data[‘automation’]
Its the yaml from the documentation. Can someone help