Small code cleanup: (#12409)

- should_poll of base class already returns False
- there is no is_on within Scene
This commit is contained in:
Julius Mittenzwei authored and Paulus Schoutsen committed 2018-02-14 22:07:04 -08:00
1 parent 96bd153c80
commit f5d1f53fab
4 files changed
-25

No files matched your search

@@ -42,11 +42,6 @@ class LiteJetScene(Scene):
"""Return the name of the scene."""
return self._name
@property
def should_poll(self):
"""Return that polling is not necessary."""
return False
@property
def device_state_attributes(self):
"""Return the device-specific state attributes."""