plamish / xcomfort

Eaton xComfort SHC integration for Home Assistant
18 stars 6 forks source link

custom_components.xcomfort.light.xcLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. #42

Closed dacootmeister closed 7 months ago

dacootmeister commented 8 months ago

WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.xcomfort.light.xcLight'>) 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/plamish/xcomfort/issues 2024-04-01 21:51:29.095 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.xcomfort.light.xcLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please create a bug report at https://github.com/plamish/xcomfort/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

plamish commented 8 months ago

This should be fixed by latest release

dacootmeister commented 8 months ago

Thanks very much, will test it immediately! Update; errors solved

2024-04-03 17:46:52.486 DEBUG (MainThread) [custom_components.xcomfort] Finished fetching xcomfort data in 1.016 seconds (success: True) 2024-04-03 17:47:10.637 DEBUG (MainThread) [custom_components.xcomfort.light] xcLight.init() done SPOT'S L KLEIN 2024-04-03 17:47:10.644 DEBUG (MainThread) [custom_components.xcomfort.light] xcLight.init() done LEDUP L GROOT 2024-04-03 17:47:10.649 DEBUG (MainThread) [custom_components.xcomfort.light] xcLight.init() done SPOT'S L GROOT 2024-04-03 17:47:10.652 DEBUG (MainThread) [custom_components.xcomfort.light] xcLight.init() done LED UP L KLEIN 2024-04-03 17:47:10.658 DEBUG (MainThread) [custom_components.xcomfort.light] xcLight.init() done Keuken nieuw (Dimming actuator) 2024-04-03 17:47:10.660 DEBUG (MainThread) [custom_components.xcomfort.light] xcLight.init() done Plafondlamp A (Dimming actuator) 2024-04-03 17:47:10.664 DEBUG (MainThread) [custom_components.xcomfort.light] xcLight.init() done Plafondlamp B (Dimming actuator) 2024-04-03 17:47:16.593 DEBUG (MainThread) [custom_components.xcomfort] Finished fetching xcomfort data in 0.315 seconds (success: True) 2024-04-03 17:47:21.973 DEBUG (MainThread) [custom_components.xcomfort] Finished fetching xcomfort data in 0.382 seconds (success: True) 2024-04-03 17:47:27.012 DEBUG (MainThread) [custom_components.xcomfort] Finished fetching xcomfort data in 0.343 seconds (success: True) 2024-04-03 17:47:31.908 DEBUG (MainThread) [custom_components.xcomfort] Finished fetching xcomfort data in 0.311 seconds (success: True) 2024-04-03 17:47:39.753 DEBUG (MainThread) [custom_components.xcomfort] Finished fetching xcomfort data in 2.156 seconds (success: True)