hass-gshell-extension icon indicating copy to clipboard operation
hass-gshell-extension copied to clipboard

Visual indications about entity's state

Open MKrabs opened this issue 2 years ago • 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"

MKrabs avatar Jun 12 '22 18:06 MKrabs

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

geoph9 avatar Jun 14 '22 17:06 geoph9