bursacmilan / divoom-homey

GNU General Public License v3.0
1 stars 0 forks source link

Prevent Pixoo64 to be recognized as light #3

Open dferch opened 1 week ago

dferch commented 1 week ago

I added my Pixoo64 to the zone, where it's located. I've already existing automations, which switch on/off the lights in this room using a wall switch and zone flow cards to switch off all lamps in this zone. My problem: the Pixoo64 is mapped as light and switched off too. But if I enter the zone/room again and I won't switch on the lamps, the Pixoo64 stays off and shows nothing.

dferch commented 1 week ago

The device class is "light": CleanShot 2024-10-12 at 13 46 11@2x

dferch commented 1 week ago

For climate there's an attribute "climate_exclude". Not sure, if there's a "light_exclude" too.

bursacmilan commented 6 days ago

Do you have documentation for the "climate_exclude" attribute? A possible workaround is to change the device class to "Other" instead of "light." I couldn't find a suitable class for the Pixoo64 in the Homey SDK device classes documentation, but using "Other" should prevent it from being treated as a light.