I’m trying to create an automation to turn on my furnace by sending an MQTT command to an ESP8266 which is connected to my furnace. I’m currently having an issue getting the trigger to function. I’m attempting to trigger the automation when a temperature sensor value falls below an input_number.
- alias: HVAC Call for Heat
trigger:
- platform: numeric_state
entity_id: sensor.kids_room_temperature
below: {{ states.input_number.temp_setpoint.state }}
action:
- service: mqtt.publish
data_template:
topic: "hvac/command"
payload: "heat"
retain: true
I’m getting the error:
2018-01-18 12:33:09 ERROR (SyncWorker_0) [homeassistant.util.yaml] invalid key: “OrderedDict([(‘states.input_number.temp_setpoint.state’, None)])”
in “/config/automations.yaml”, line 50, column 0
2018-01-18 12:33:09 ERROR (MainThread) [homeassistant.bootstrap] Error loading /config/configuration.yaml: invalid key: “OrderedDict([(‘states.input_number.temp_setpoint.state’, None)])”
in “/config/automations.yaml”, line 50, column 0
I’m new to using Home Assistant (1 month) and have been unable to find the source of the issue. Is there anyone who could offer some help in troubleshooting this issue?