Since I upgraded to OH5.0 my location cards no longer show the light badge when lights are turned on. I asume this is related to the changes in the semantic tagging, but can not figure out what I am doing wrong.
To be more specific if an Equipment contains (say) an Item with “Switch+Light” and another Item with “Control+Brighness” then the framework doesn’t know if that is one entry on the Location card or two. So it takes whichever it considers to be the first one. The solution for your case is to put the two lights in different equipments.
Previously, I used Property_Light on all items (switch, dimmer, color) which I wanted the “lights” badge to notice.
If a specific thing had multiple channels (example: color + brightness), I ensured that only one item had the Property_Light tag, so the badge would not double count.