Relative HA newby. Just getting starting with automations.
I’d like to create an automation that triggers when my air condition blower turns on. I can see in my device’s list of attributes that it has a fan_state attribute:
Invalid config for [sensor.template]: invalid template (TemplateSyntaxError: expected token ‘end of print statement’, got ‘gig_technologies_ct101_thermostat_iris_cooling_1’) for dictionary value @ data[‘sensors’][‘upstairs_blower’][‘value_template’]. Got ‘{{ climate.2gig_technologies_ct101_thermostat_iris_cooling_1.attributes.fan_state }}’. (See ?, line ?).
if you want to use that as a trigger, just extract the result. You can do this a number of ways. If you don’t care about having a template, you can just go straight to the trigger.
If you’re dead set on your template, it should be working. I don’t see anything out of order with your syntax. Which leads me to believe that the number 2 after the dot in the climate.2… name is causing problems. Coding languages do not handle numbers as object names. You should rename that object or access the attribute through the state_attr(’’,’’) method.
How can I get this sensor to display on my front end? I want to make sure it’s correctly reflecting the current state of the blower before I try working it into an automation.
Thanks! It didn’t set up the include and the separate yaml file when I installed HA. I was missing the device_config: keyword.
Is the default polling (60000 I believe?) supposed to poll all zwave devices once a minute? Or once an hour? Because I watched my OZW_Log for two hours and all I saw were temperature change notifications from my thermostat sensor.