roleoroleo / yi-hack_ha_integration

Home Assistant custom integration for Yi cameras: yi-hack-MStar, yi-hack-Allwinner, yi-hack-Allwinner-v2, yi-hack-v5 and sonoff-hack
GNU General Public License v3.0
205 stars 32 forks source link

`SUPPORT_ON_OFF` and `SUPPORT_STREAM` depreciated #139

Closed TheZoker closed 6 months ago

TheZoker commented 6 months ago

The integration has this error since version 2024.1.0b0:

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