Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Home Assistant
  4. Use battery_level to create an entity with a dynamic icon (avoid templates and save airspace noise!)

Use battery_level to create an entity with a dynamic icon (avoid templates and save airspace noise!)

Scheduled Pinned Locked Moved Home Assistant
2 Posts 2 Posters 724 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Mark SwiftM Offline
    Mark SwiftM Offline
    Mark Swift
    wrote on last edited by
    #1

    Hi,

    Thanks for this excellent HA component.

    Currently I create children for the voltage and percentage and display them in the HA frontend (lovelace).

    It would be nice however if we can utilise the battery_level attribute already present and create a new entity using the dynamic battery icon option. This would prevent unrequired children (less transmissions and data, I have over 25 sensors), and also make it easy to identify sensor battery level. I realise this can be done via a value template, but that's not an ideal solution...

    Many thanks in advance.

    1 Reply Last reply
    0
    • martinhjelmareM Offline
      martinhjelmareM Offline
      martinhjelmare
      Plugin Developer
      wrote on last edited by
      #2

      I think it's a good idea.

      My todo list for mysensors is already very long and I have limited time, though, so I don't think I will code this up soon. It shouldn't be very difficult though, so anyone is welcome to have a go and make a pull request. I'll happily review.

      1 Reply Last reply
      1
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      22

      Online

      11.7k

      Users

      11.2k

      Topics

      113.1k

      Posts


      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • MySensors
      • OpenHardware.io
      • Categories
      • Recent
      • Tags
      • Popular