Open Extreme79 opened 6 months ago
same error, these warnings appear in the logs:
Entity camera.yi_hack_m_XXXXXX_cam (<class 'custom_components.yi_hack.camera.YiHackCamera'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <CameraEntityFeature.ON_OFF|STREAM: 3>, please create a bug report at https://github.com/roleoroleo/yi-hack_ha_integration/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 00:02:24 – (AVVISO) helpers/entity.py - il messaggio si è verificato per la prima volta alle 00:02:24 e compare 2 volte
DEVICE_CLASS_CONNECTIVITY was used from yi_hack, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.CONNECTIVITY instead, please create a bug report at https://github.com/roleoroleo/yi-hack_ha_integration/issues 00:02:24 – (AVVISO) Sensore binario - il messaggio si è verificato per la prima volta alle 00:02:24 e compare 6 volte
SUPPORT_ON_OFF was used from yi_hack, this is a deprecated constant which will be removed in HA Core 2025.1. Use CameraEntityFeature.ON_OFF instead, please create a bug report at https://github.com/roleoroleo/yi-hack_ha_integration/issues 00:02:24 – (AVVISO) Telecamera - il messaggio si è verificato per la prima volta alle 00:02:24 e compare 4 volte
I think this issue is already fixed (but not released). https://github.com/roleoroleo/yi-hack_ha_integration/commit/bac299058af2a887d5b8dd67611f6c0e98cf7acd https://github.com/roleoroleo/yi-hack_ha_integration/commit/325b04687c1b600d4251dec72781934c98e2e18f
After updating HomeAssistant to 2024.3.0 , this warning appeared :
SUPPORT_ON_OFF was used from yi_hack, this is a deprecated constant which will be removed in HA Core 2025.1. Use CameraEntityFeature.ON_OFF instead, please create a bug report at https://github.com/roleoroleo/yi-hack_ha_integration/issues SUPPORT_STREAM was used from yi_hack, this is a deprecated constant which will be removed in HA Core 2025.1. Use CameraEntityFeature.STREAM instead, please create a bug report at https://github.com/roleoroleo/yi-hack_ha_integration/issues
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi! As home assistant log is reporting me, _Entity camera.xxxxxxxxx (<class 'custom_components.yi_hack.camera.YiHackCamera'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <CameraEntityFeature.ON_OFF|STREAM: 3>, please create a bug report at https://github.com/roleoroleo/yi-hack_ha_integration/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation_