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



  • 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.


  • Plugin Developer

    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.


Log in to reply
 

Suggested Topics

  • 1
  • 3
  • 1
  • 3
  • 5

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts