#Monitoring devices for low battery / offline
25 messages · Page 1 of 1 (latest)
Hi @strange flicker,
Putting this into a search engine might get you some ideas.
site:community.home-assistant.io battery low
alright
Aaron, this might be a good start https://community.home-assistant.io/t/low-battery-level-detection-notification-for-all-battery-sensors/258664
Github Gist: https://gist.github.com/sbyx/1f6f434f0903b872b84c4302637d0890 Explanation This is a different take on the whole low battery-level detection use case. Instead of manually listing one or more sensors this blueprint checks all sensors that have the attribute device_class set to ‘battery’ for either crossing below a threshold or being ...
Do you use that
I have. I just have a conditional section on my dashboard that shows me my battery entities + levels on command now though
like this?
Yep that works!
I have way less.
Then I have a binary sensor to show/hide in the dashboard.
did you have to do anything for the colors to change when it gets lower with that?
Nope
I'll probably change to something like yours where you only shows up when the % is low. would you mind sharing that?
alright. i have a page with just sensor spam on it for glancing at stuff. probably add that to it
i have a lot of sensors
guess im curious, you need to have a visibility condition for each one eh?
I use auto entities from HACS for the visual aspect and then a script that loops over all battery devices and reports as persistent notifications and/or TTS otherwise, but the auto entities is clean and simple to use - and when paried with battery entities it does a nice job.
I have my ENTIRE battery section hidden unless I want to see all of it at once. If you want to do it per entity, it's just this on each tile:
type: tile
entity: sensor.shade_livingroom_backyard_battery_level
name: shade yard
visibility:
- condition: numeric_state
entity: sensor.shade_livingroom_backyard_battery_level
below: 20
Or you can do what CO4x4 stated too. TONS of options.
My dash is actually broken up into multiple areas - one is batteries nearing depletion and one that's hidden is every battery entity in the house (of which there are numerous). This cat can be skinned in a lot of ways (and cat skins make good slippers FYI :D)
i like that, its just going to be a pain because i have so many devices to build at once
you can do it! Good luck!