Hi.
I am very new to Home Assistant, and coming from Domoticz.
I try to reproduce the heating system I had before, and I’ve build a SQL database in MariaDB to describe the temperature I want at various moments of the day.
So I have a SQL sensor (called here tempvanne) that gives every 5 minutes the temperature I’ve chosen. Everytime the value changes, the zwave entity need to be updated.
This is the content of my automations.yaml file (NB : in the example,
- alias: Automatisme
trigger:
platform: numeric_state
entity_id: sensor.tempvanne
attribute: temperature
action:- service: climate.set_temperature
data:
entity_id: climate.danfoss_z_thermostat_014g0013_heating_1
temperature: 21
- service: climate.set_temperature
The last line use a simple value for testing purpose.
When I restart HA, this is the error message I got :
Invalid config for [automation]: must contain at least one of below, above… Got OrderedDict([(‘homeassistant’, OrderedDict([(‘legacy_templates’, True), (‘auth_providers’, [OrderedDict([(‘type’, ‘homeassistant’)]), OrderedDict([(‘type’, ‘trusted_networks’)…
Thanks for help