I’m just started with HA and have already knowledge in Domoticz but it’s maybe the same change from a Volkswagen to F1 Car.
Anyhow still struggle to integrate my Helper Values in to my Automation, to change the Heating value from when I switch from Present to Away.
Can anybody tell me why it works with fixed Values and not with the Helper Values?
Thank you for any HELP here is my YAML.
device_id: a77824dcc3f51c1576e9460822d63cc7
domain: zwave_js
type: set_value
command_class: 67
property: setpoint
value: input_number.temprature_away
property_key: “1”
wait_for_result: false
The value: input_number.temprature_away is not valid, you need a template to extract the state from an entity, such as value: "{{ states('input_number.temprature_away') }}". I don’t think device automations allow templates, if not use a normal service call instead. https://www.home-assistant.io/integrations/zwave_js#service-zwave_jsset_value
Thank you Freshcoast, for your feedback, but as I mentioned I’m brand new to home.assistant and I’m in a try and error approach using the Automation UI, under action I was unable to find any Services, maybe I got the wrong tutorial How To Use HELPERS In Home Assistant - TUTORIAL where my case was exactly implemented.
It’s fixed now, after the installation of Better Thermostat UI everything worked perfectly.
I was using service switch: turn on in the automation but realized that sometimes the node goes dead and activating it from zwave js ui would bring it back.
So to make my system more reliable I wanted to make a automation that would set the brightness via a my input_number helper.
but I’m getting some weird errors.
if I put
value: "{{ states('input_number.light_level' )}}"
I get an error because it is a string, if I put and hit save
but it still comes up as a string. should I make a automation that pings it every time there is a service call switch: turn on? or to set the brightness level?