Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dahua.light.DahuaInfraredLight need attention #355

Closed
Masterz69 opened this issue May 12, 2024 · 2 comments
Closed

dahua.light.DahuaInfraredLight need attention #355

Masterz69 opened this issue May 12, 2024 · 2 comments

Comments

@Masterz69
Copy link

Is your feature request related to a problem? Please describe.
After HA Core upgrade to 2024.5.3 following appears in log:

Logger: homeassistant.components.light
Source: components/light/__init__.py:1267
integration: Light (documentation, issues)
First occurred: 11:34:49 (1 occurrences)
Last logged: 11:34:49

None (<class 'custom_components.dahua.light.DahuaInfraredLight'>) 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/rroller/dahua/issues



Logger: homeassistant.components.light
Source: components/light/__init__.py:1320
integration: Light (documentation, issues)
First occurred: 11:34:49 (1 occurrences)
Last logged: 11:34:49

Entity None (<class 'custom_components.dahua.light.DahuaInfraredLight'>) 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/rroller/dahua/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
@contagon
Copy link

contagon commented Jun 9, 2024

I'm also getting this for AmcrestRingLight

None (<class 'custom_components.dahua.light.AmcrestRingLight'>) 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/rroller/dahua/issues

I know updates to this were discussed in #328 and an update was pushed for the camera constants, was anything ever done for lights?

rroller added a commit that referenced this issue Jun 9, 2024
@rroller
Copy link
Owner

rroller commented Jun 9, 2024

Fixed in https://github.com/rroller/dahua/releases/tag/0.9.56

Please reopen if this is still an issue. Thanks!

@rroller rroller closed this as completed Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants