elad-bar / ha-blueiris

Integration with Blue Iris Video Security Software
184 stars 43 forks source link

fix future incompatibility HA Core 2025.1 #222

Closed elad-bar closed 10 months ago

elad-bar commented 10 months ago

Following code changes performed as part of that PR:

@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 commented 10 months ago

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