ABC consistent not implemented behavior (#2359)
This commit is contained in:
1 parent
c616115419
commit
68df3deee0
22 files changed
+56
-41
No files matched your search
@@ -65,6 +65,10 @@ class WOLSwitch(SwitchDevice):
|
||||
self._wol.send_magic_packet(self._mac_address)
|
||||
self.update_ha_state()
|
||||
|
||||
def turn_off(self):
|
||||
"""Do nothing."""
|
||||
pass
|
||||
|
||||
def update(self):
|
||||
"""Check if device is on and update the state."""
|
||||
if platform.system().lower() == "windows":
|
||||
|
||||
Reference in new issue
Block a user