Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sensor value returned between 0 and 500 w #723

Open
polpas opened this issue Apr 23, 2024 · 0 comments
Open

sensor value returned between 0 and 500 w #723

polpas opened this issue Apr 23, 2024 · 0 comments
Labels
question Further information is requested

Comments

@polpas
Copy link

polpas commented Apr 23, 2024

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"

@polpas polpas added the question Further information is requested label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant