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

fix future incompatibility HA Core 2025.1 #222

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

elad-bar
Copy link
Owner

@elad-bar elad-bar commented Jan 6, 2024

Following code changes performed as part of that PR:

  • Fix future incompatibility HA Core 2025.1 Issue #221
  • Remove outdated dependency of async_timeout, replace with aihttp.ClientRequest.timeout
  • Fix warning for binary sensors when using async_call_later, changed to loop.call_later
  • Remove unused parameters

@kramttocs please review and test before releasing it as new version, especially 2 and 3:
Images (preview) / video stream should be available + sound detection should turn off after 2 seconds of silent.

thanks

@olympia
Copy link

olympia commented Jan 8, 2024

Many thanks @elad-bar for still contributing with code!

I tested this and it looks like the "SUPPORT_STREAM was used from blueiris, this is a deprecated constant which will be removed in HA Core 2025.1. " messages are gone now (many thanks), but I still see these:

Entity camera.xxx (<class 'custom_components.blueiris.camera.BlueIrisCamera'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <CameraEntityFeature: 0>, please create a bug report at https://github.com/elad-bar/ha-blueiris/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

@kramttocs kramttocs merged commit 4484cf4 into master Jan 11, 2024
3 checks passed
@kramttocs kramttocs deleted the fix-startup-warning-2025-1 branch January 11, 2024 03:57
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

Successfully merging this pull request may close these issues.

3 participants