dwainscheeren / dwains-lovelace-dashboard

An fully auto generating Home Assistant UI dashboard for desktop, tablet and mobile by Dwains for desktop, tablet, mobile
Other
1.78k stars 189 forks source link

light counter counting groups #520

Open No-Idea-76 opened 2 years ago

No-Idea-76 commented 2 years ago

Hi

This counts light groups as well as lights, which adds 1 per group (which isn't an actual light). It would be good if there was an option somewhere to turn counting groups off. It would be better as an option as some users may want to count a group if they have hidden the lights within their group (I should imagine).

Thanks

iroQuai commented 2 years ago

I noticed this too! Only thing is, I created a light group with three lights, but didn't hide the individual light entities in HA (sometimes I want to manipulate only one of the lights for visual alerts). So when I use DD V3, within de assigned area all individual lights are shown, plus the group too. I hid the individual lights in DD (via "hide in DD" in edit mode) but they still show next to the group in the top bar. So in my case, the counting is way off: instead of one (light)group it shows 4 lights, because it includes the (already hidden) individual lights!

Maybe this is not about the counting, but more like this issue: https://github.com/dwainscheeren/dwains-lovelace-dashboard/issues/526

dwainscheeren commented 2 years ago

Then you dont hide them in DD but disable them in DD then its solved.

iroQuai commented 2 years ago

a wow its that easy... I didn't really understand the difference between those two. It works!

dwainscheeren commented 2 years ago

Its in the documentation did you read? :) https://dwainscheeren.github.io/dwains-lovelace-dashboard/v3/information/configuration.html#how-to-hidedisable-entities