#I can't select a "for how long" time for a numeric state???
1 messages · Page 1 of 1 (latest)
It's not possible, because that information is not retrievable from the state machine.
If you need that, make a template binary sensor for below 500.
Then you can test if that is on for one minute.
ugh.
- name: Basement Car Charger Above 100 Watts
state: "{{ is_state_attr('sensor.basement_car_charger_power', 'value', > 100) }}"```
is not working
Nor should you expect it to. Did that come from AI?
Assuming that attribute is a float and not a string, you can do {{ state_attr('sensor.basement_car_charger_power', 'value') > 100 }}
No from the ha forum
Thanks!
not working. says unavailable.
the entity im using for it is simply a number. the wattage of a smart plug
a value in watts