SecKatie / ha-wyzeapi

Home Assistant Integration for Wyze devices.
740 stars 112 forks source link

Add color mode property to bulbs #482

Closed brg468 closed 1 year ago

brg468 commented 1 year ago

In response to https://github.com/JoshuaMulliken/ha-wyzeapi/issues/480:

Add the supported_color_mode and color_mode properties to light. Bulbs were always reporting their mode as Hue/Sat regardless of whether they were in color or white mode, which affected scenes. This should correct that functionality. Also fixes bulbs showing their last color in the frontend when the bulbs are in white.