At the bottom of my Overview page I have an Entity Filter Card which is usually hidden, and serves to show ‘warnings’ for devices which need updating (phone needs charging, motion sensor battery needs replacing, air purifier needs a new filter, etc):
type: entity-filter
entities:
- sensor.device_1_battery_level
- sensor.device_2_battery_level
- etc.
state_filter:
- operator: <
value: 20%
show_empty: false
card:
type: entities
title: Warnings
Everything works great except that, for some reason, every morning when I wake up to a 100% phone I have a warning that my phone battery is 100%:
As soon as I unplug my phone and use it enough for the battery to drop to 99%, the entity disappears and the card disappears (when it’s the only entry) and everything is working as expected. And everything is indeed working as expected, because if I change the value from “20%” to say “70%”, the card is updated with the addition of several entities at between 20% and 70%.
But it seems that 100% is a special case?