Remove unnecessary should poll from switch classes (#41218)
This commit is contained in:
parent
f17089e46e
commit
e51be33e18
7 changed files with 0 additions and 35 deletions
|
@ -66,11 +66,6 @@ class PwrCtrlSwitch(SwitchEntity):
|
|||
self._port = port
|
||||
self._parent_device = parent_device
|
||||
|
||||
@property
|
||||
def should_poll(self):
|
||||
"""Return the polling state."""
|
||||
return True
|
||||
|
||||
@property
|
||||
def unique_id(self):
|
||||
"""Return the unique ID of the device."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue