1 parent
cfea4b17e3
commit
cfbbade6d1
12 files changed
+279
-4
No files matched your search
@@ -4,6 +4,7 @@ Support for Wink scenes.
|
||||
For more details about this platform, please refer to the documentation at
|
||||
https://home-assistant.io/components/scene.wink/
|
||||
"""
|
||||
import asyncio
|
||||
import logging
|
||||
|
||||
from homeassistant.components.scene import Scene
|
||||
@@ -29,6 +30,12 @@ class WinkScene(WinkDevice, Scene):
|
||||
def __init__(self, wink, hass):
|
||||
"""Initialize the Wink device."""
|
||||
super().__init__(wink, hass)
|
||||
hass.data[DOMAIN]['entities']['scene'].append(self)
|
||||
|
||||
@asyncio.coroutine
|
||||
def async_added_to_hass(self):
|
||||
"""Callback when entity is added to hass."""
|
||||
self.hass.data[DOMAIN]['entities']['scene'].append(self)
|
||||
|
||||
@property
|
||||
def is_on(self):
|
||||
|
||||
Reference in new issue
Block a user