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
|
@ -68,11 +68,6 @@ class HikvisionMotionSwitch(SwitchEntity):
|
|||
self._hikvision_cam = hikvision_cam
|
||||
self._state = STATE_OFF
|
||||
|
||||
@property
|
||||
def should_poll(self):
|
||||
"""Poll for status regularly."""
|
||||
return True
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
"""Return the name of the device if any."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue