SwitchDevice was renamed to SwitchEntity in home assistant core. It doesn't look like there were any other changes in the class definition.
This change updates the integration to use SwitchEntity instead of SwitchDevice. Verified that the warning in the log is gone (https://github.com/roblandry/netgear-enhanced-integration/issues/2) and tested that switches still work - tested with 2g_guest_wifi and 5g_guest_wifi switches.
SwitchDevice was renamed to SwitchEntity in home assistant core. It doesn't look like there were any other changes in the class definition. This change updates the integration to use SwitchEntity instead of SwitchDevice. Verified that the warning in the log is gone (https://github.com/roblandry/netgear-enhanced-integration/issues/2) and tested that switches still work - tested with 2g_guest_wifi and 5g_guest_wifi switches.