1 parent
ea7b1e4573
commit
9aaf11de8c
54 files changed
+223
-382
No files matched your search
@@ -4,7 +4,6 @@ Support for ZigBee devices.
|
||||
For more details about this component, please refer to the documentation at
|
||||
https://home-assistant.io/components/zigbee/
|
||||
"""
|
||||
import asyncio
|
||||
import logging
|
||||
from binascii import hexlify, unhexlify
|
||||
|
||||
@@ -277,8 +276,7 @@ class ZigBeeDigitalIn(Entity):
|
||||
self._config = config
|
||||
self._state = False
|
||||
|
||||
@asyncio.coroutine
|
||||
def async_added_to_hass(self):
|
||||
async def async_added_to_hass(self):
|
||||
"""Register callbacks."""
|
||||
def handle_frame(frame):
|
||||
"""Handle an incoming frame.
|
||||
@@ -403,8 +401,7 @@ class ZigBeeAnalogIn(Entity):
|
||||
self._config = config
|
||||
self._value = None
|
||||
|
||||
@asyncio.coroutine
|
||||
def async_added_to_hass(self):
|
||||
async def async_added_to_hass(self):
|
||||
"""Register callbacks."""
|
||||
def handle_frame(frame):
|
||||
"""Handle an incoming frame.
|
||||
|
||||
Reference in new issue
Block a user