Is it possible to make a Group Item with a base type of Dimmer return an Integer from any of the Functions? Alternatively is there a way to make a Sitemap Switch mapping match both 0 and 0.00000000?
I have a group item of base type Dimmer with my lights color items called gFamilyRoom_Lights.
In my sitemap I have:
Switch item=gFamilyRoom_Lights icon="light" mappings=[0="Off",30="Dim",100="On"]
This makes a nice button to turn On, Off, or set to a predefined dim level all in one line. The problem is since gFamilyRoom_Lights value is a decimal the sitemap won’t show the current state. Luckily at least the light icon will change based on the value of the lights. But it is confusing when looking at the sitemap when a Dimmer item will have On or Off highlighted, but if it is a group of Dimmers it won’t.