geoph9/hass-gshell-extension

Visual indications about entity's state

Opened this issue · 1 comments

The entities are currently shown as "Toggle: Light_1".

A neat feature would be to be able to see (and maybe select select) the state of each entity. Either:

  • through text "On: Light_1".
  • through colours "Toggle: Light_1" (background in yellow [or coloured] if on. Grey if it's off)
  • through icons ":bulb: Toggle: Light_1"

This is actually how I first tried to implement this (i.e. on: ENTITY_NAME instead of toggle), but it involves an extra API call (to get the current state of the entity since e.g. the light may be switched from another device and so the text needs to be refreshed every time the menu opens) and so I dropped it.

But I do admit that this is a nice idea and a more user-friendly design, especially if it also includes the icon.

If anyone it willing to start implementing this, I could be of assistance (I don't have a lot of free time lately to put on this project).