Sirs0ri,
@Sirs0ri@corteximplant.com avatar

Today's useful of the day is a notification when any of our battery-level related sensors are low.

I even managed to find a way where I don't have to add all the sensors to the automation by hand: instead I'm observing the state_changed event, with a filter for only states that have the device_class attribute set to battery.

In case anyone's interested, the automation can be found here: https://gist.github.com/Sirs0ri/d5bafd364d7d291dff2bd49e88645d7d :comfyblobcat:​

Together with the Battery Notes custom integration this should make our home much more muggle friendly, so that things don't randomly break only because a battery is low, and instead the smart home's going to proactively notify its users about upcoming issues.

kaiserkiwi,
@kaiserkiwi@corteximplant.com avatar

@Sirs0ri Sounds interesting. Just added the automation to my Home Assistant. Thank you!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • homeassistant
  • DreamBathrooms
  • InstantRegret
  • thenastyranch
  • magazineikmin
  • GTA5RPClips
  • rosin
  • osvaldo12
  • tacticalgear
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • ngwrru68w68
  • modclub
  • Leos
  • everett
  • provamag3
  • cubers
  • cisconetworking
  • ethstaker
  • Durango
  • mdbf
  • anitta
  • megavids
  • normalnudes
  • tester
  • JUstTest
  • lostlight
  • All magazines