djtimca / haomnilogic

Hayward Omnilogic integration for Home Assistant available through HACS
Apache License 2.0
17 stars 6 forks source link

Deprecation warnings in latest Home Assistant version re: lights #62

Open ahuffman opened 2 months ago

ahuffman commented 2 months ago
Source: components/light/__init__.py:1329
integration: Light (documentation, issues)
First occurred: 10:51:39 AM (1 occurrences)
Last logged: 10:51:39 AM

Entity None (<class 'custom_components.omnilogic.light.OmniLogicLightControl'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature.EFFECT: 4> and color modes, please create a bug report at https://github.com/djtimca/haomnilogic/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
Logger: homeassistant.components.light
Source: components/light/__init__.py:1276
integration: Light (documentation, issues)
First occurred: 10:51:39 AM (1 occurrences)
Last logged: 10:51:39 AM

None (<class 'custom_components.omnilogic.light.OmniLogicLightControl'>) does not set supported color modes, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/djtimca/haomnilogic/issues
djtimca commented 2 months ago

Thanks - will have a look at it. I no longer have functional OmniLogic lights, so may have difficulty updating, but will see how complicated this is once I get time to look at it.

ahuffman commented 2 months ago

Thanks, happy to test if you need assistance. Just ping me.