BazaJayGee66 / homeassistant_cololight

Custom component to support Cololight in Home-Assistant
MIT License
47 stars 6 forks source link

fix: Replace deprecated light SUPPORT_COLOR, with new ColorMode #40

Closed BazaJayGee66 closed 4 months ago

BazaJayGee66 commented 4 months ago

Replace deprecated light SUPPORT_COLOR, with new ColorMode

Light entities are now required to set the supported_color_modes and color_mode properties, and a warning will be logged asking users to report an issue if that's not done.

This is also a temporary resolve for https://github.com/BazaJayGee66/homeassistant_cololight/issues/39