BazaJayGee66 / homeassistant_cololight

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

fix: Replace deprecated light SUPPORT_EFFECT, with new EntityFeature enum #38

Closed BazaJayGee66 closed 5 months ago

BazaJayGee66 commented 5 months ago

Replace deprecated light SUPPORT_EFFECT, with new EntityFeature enum

As of Home Assistant Core 2024.1, all usage of magic numbers for supported features is deprecated, and each entity platform has provided an EntityFeature enum to replace them.

This resolves https://github.com/BazaJayGee66/homeassistant_cololight/issues/37