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.
In response to https://github.com/JoshuaMulliken/ha-wyzeapi/issues/480:
Add the
supported_color_mode
andcolor_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.