Remove unnecessary should poll from switch classes (#41218)

This commit is contained in:
springstan 2020-10-04 21:31:02 +02:00 committed by GitHub
parent f17089e46e
commit e51be33e18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 0 additions and 35 deletions

View file

@ -69,11 +69,6 @@ class MfiSwitch(SwitchEntity):
self._port = port
self._target_state = None
@property
def should_poll(self):
"""Return the polling state."""
return True
@property
def unique_id(self):
"""Return the unique ID of the device."""