I receive a value from entity_id between 0 and 500. How can I make state evaluates if value is higher than 100 W to use the secondary message of "charging in progress"?
If I use instead of state the function above the message is allways appearing even if value is less than 100
"- entity: sensor.ac200max_battery_level
name: Bluetti AC200M
secondary_info: '{charging}'
charging_state:
entity_id: sensor.ac200max_ac_input
state
above: 100
secondary_info_text: Charging in progress"
Hi there,
I receive a value from entity_id between 0 and 500. How can I make state evaluates if value is higher than 100 W to use the secondary message of "charging in progress"?
If I use instead of state the function above the message is allways appearing even if value is less than 100
"- entity: sensor.ac200max_battery_level name: Bluetti AC200M secondary_info: '{charging}' charging_state: entity_id: sensor.ac200max_ac_input state above: 100 secondary_info_text: Charging in progress"