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

-5
View File
@@ -53,8 +53,3 @@ class VeraScene(Scene):
def device_state_attributes(self):
"""Return the state attributes of the scene."""
return {'vera_scene_id': self.vera_scene.vera_scene_id}
@property
def should_poll(self):
"""Return that polling is not necessary."""
return False