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
|
@ -95,11 +95,6 @@ class DINRelay(SwitchEntity):
|
|||
"""Return true if relay is on."""
|
||||
return self._state
|
||||
|
||||
@property
|
||||
def should_poll(self):
|
||||
"""Return the polling state."""
|
||||
return True
|
||||
|
||||
def turn_on(self, **kwargs):
|
||||
"""Instruct the relay to turn on."""
|
||||
self._outlet.on()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue