roblandry / netgear-enhanced-integration

14 stars 9 forks source link

Update SwitchDevice to SwitchEntity class #2

Closed wlouckx closed 3 years ago

wlouckx commented 4 years ago

Looks like one of the later updates made SwitchDevice deprecated

From the logs:

Log Details (WARNING) Logger: homeassistant.components.switch Source: components/switch/init.py:125 Integration: Switch (documentation, issues) First occurred: 12:16:54 AM (1 occurrences) Last logged: 12:16:54 AM

SwitchDevice is deprecated, modify NetgearEnhancedSwitch to extend SwitchEntity

roblandry commented 3 years ago

Merged in #5