JurajNyiri / HomeAssistant-Tapo-Control

Control for Tapo cameras as a Home Assistant component
Apache License 2.0
1.17k stars 89 forks source link

[Due 2025.3] Log warning in 2024.3.0 #530

Closed dm82m closed 4 months ago

dm82m commented 8 months ago

Description

Logger: homeassistant.components.light Quelle: components/light/init.py:1269 Integration: Licht (Dokumentation, Probleme) Erstmals aufgetreten: 06:43:26 (1 Vorkommnisse) Zuletzt protokolliert: 06:43:26

None (<class 'custom_components.tapo_control.light.TapoWhitelight'>) does not set supported color modes, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues

Reproduction Steps

.

Expected behavior

No warning in log

If applicable, add error logs.

No response

Device Firmware

.

Integration Version

Newest

Using stream component

Yes

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

Docker

Search for similar issues

Yes

Additional information

No response

mbuiot5 commented 8 months ago

All camera stopped working today for me without warning, do you have any solution? "Detected that custom integration 'tapo_control' accesses hass.components.cloud. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from cloud directly at custom_components/tapo_control/utils.py, line 50: base_url = get_url(hass, prefer_external=False), please create a bug report at https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues"

dm82m commented 8 months ago

has nothing todo with the deprecation warning

JurajNyiri commented 8 months ago

@mbuiot5 please create new issue about the message. It will not cause any issues with cameras today.

JurajNyiri commented 4 months ago

Fixed in https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/releases/tag/5.4.19.