I have a Aeotec ZW116 device that controls a light bulb. Ideally, I’d like the icon to show as a light bulb. (right now it shows as a receptacle)
I’ve learned I can change this by manually setting the subcategory_num to a “0” instead of it’s default value of “3”
Problem is, every time luup reloads, it resets to “3”. Vera tech support told me pre-configured devices always have their default values resent every time luup reloads.
I know the serviceid for this device is “urn:schemas-upnp-org:device:BinaryLight:1”
and the deviceId is 21
How can I setup some luup code that would automatically set the sub_category of this device to a “0” every time luup reloads.? Anyone done something like this?