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
221 stars 32 forks source link

`SUPPORT_ON_OFF` and `SUPPORT_STREAM` depreciated #139

Closed TheZoker closed 10 months ago

TheZoker commented 10 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