ZHA - Event foundation (#19095)

* event foundation

* add missing periods to comments

* reworked so that entities don't fire events

* lint

* review comments
This commit is contained in:
David F. Mulcahey authored and Charles Garwood committed 2018-12-10 10:59:50 -05:00
1 parent 59581786d3
commit f4f42176bd
5 files changed
+121 -1

No files matched your search

@@ -190,6 +190,10 @@ class Remote(ZhaEntity, BinarySensorDevice):
"""Handle ZDO commands on this cluster."""
pass
def zha_send_event(self, cluster, command, args):
"""Relay entity events to hass."""
pass # don't let entities fire events
class LevelListener:
"""Listener for the LevelControl Zigbee cluster."""
@@ -220,6 +224,10 @@ class Remote(ZhaEntity, BinarySensorDevice):
"""Handle ZDO commands on this cluster."""
pass
def zha_send_event(self, cluster, command, args):
"""Relay entity events to hass."""
pass # don't let entities fire events
def __init__(self, **kwargs):
"""Initialize Switch."""
super().__init__(**kwargs)