#You can't use a > for compare, please
1 messages · Page 1 of 1 (latest)
Okay. Running now, it will take a minute to get to the range.
So, now I have condition:
- condition: state
entity_id: sensor.esphome_web_181b6b_water_tank_level
attribute: unit_of_measurement
state: "0.23"
That tells it to ONLY run when the value is 0.23. You will need to use a template condition to check it is greater than 0.23
Ah, that is beyond my ability. I see the template editor, but have not used it.
Not trying to be dense, but this is new to me.
Templates can be fairly simple. eg
{{(state_attr('your.sensor','your.attribute') | float(0)) < 0.23 }}
Get the attribute value, make sure it is a number and compare it to your value.
Thank you. I will experiment.
Use the Dev Tools Template option to tinker and get them right.