Small code cleanup: (#12409)
- should_poll of base class already returns False - there is no is_on within Scene
This commit is contained in:
1 parent
96bd153c80
commit
f5d1f53fab
4 files changed
-25
No files matched your search
@@ -38,11 +38,6 @@ class WinkScene(WinkDevice, Scene):
|
||||
"""Call when entity is added to hass."""
|
||||
self.hass.data[DOMAIN]['entities']['scene'].append(self)
|
||||
|
||||
@property
|
||||
def is_on(self):
|
||||
"""Python-wink will always return False."""
|
||||
return self.wink.state()
|
||||
|
||||
def activate(self):
|
||||
"""Activate the scene."""
|
||||
self.wink.activate()
|
||||
Reference in new issue
Block a user