HASS-sonoff-ewelink
HASS-sonoff-ewelink copied to clipboard
Warning: SwitchDevice is deprecated, modify SonoffSwitch to extend SwitchEntity
Home Assistant 0.110.0b2
SwitchDevice is deprecated, modify SonoffSwitch to extend SwitchEntity SwitchDevice is deprecated, modify SonoffDebugSwitch to extend SwitchEntity
This warning appears in the logs when starting HA (also for a few other custom components).
(No idea what it entails but as it is a deprecation warning I thought it would be useful to know)
Thanks for this great component!
There are these warnings too:
BinarySensorDevice is deprecated, modify SonoffSensorRF to extend BinarySensorEntity Light is deprecated, modify SonoffLight to extend LightEntity
Same here since the last version
Same in 0.110, 3 warns:
Light is deprecated, modify SonoffLight to extend LightEntity
BinarySensorDevice is deprecated, modify SonoffSensorRF to extend BinarySensorEntity
SwitchDevice is deprecated, modify SonoffSwitch to extend SwitchEntity SwitchDevice is deprecated, modify SonoffDebugSwitch to extend SwitchEntity
Seems easy fix by changing the few line.. probably author will edit when free. Nothing major to worry about.
Same here
"SwitchDevice is deprecated, modify SonoffSwitch to extend SwitchEntity SwitchDevice is deprecated, modify SonoffDebugSwitch to extend SwitchEntity"
Same Here Logger: homeassistant.components.switch Source: components/switch/init.py:123 Integration: Interruptor (documentation, issues) First occurred: 12:15:08 (2 occurrences) Last logged: 12:15:08
SwitchDevice is deprecated, modify SonoffSwitch to extend SwitchEntity SwitchDevice is deprecated, modify SonoffDebugSwitch to extend SwitchEntity
Started getting the below with 0.117.X versions, any idea on a fix?
2020-11-11 10:37:11 WARNING (MainThread) [homeassistant.components.switch] SwitchDevice is deprecated, modify SonoffSwitch to extend SwitchEntity
2020-11-11 10:37:11 WARNING (MainThread) [homeassistant.components.switch] SwitchDevice is deprecated, modify SonoffDebugSwitch to extend SwitchEntity
2020-11-11 10:37:11 WARNING (MainThread) [homeassistant.components.binary_sensor] BinarySensorDevice is deprecated, modify SonoffSensorRF to extend BinarySensorEntity
Pls Is there any fix for this? I have the same issue. Thanks
Pls Is there any fix for this? I have the same issue. Thanks
Consider move to https://github.com/AlexxIT/SonoffLAN