From 1cea3a6abc9c94cbe8ae97b8781e1cf5d99ed87d Mon Sep 17 00:00:00 2001 From: "David F. Mulcahey" Date: Tue, 10 Sep 2019 16:44:41 -0400 Subject: [PATCH] osram cluster (#26555) --- .../zha/core/channels/manufacturerspecific.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/zha/core/channels/manufacturerspecific.py b/homeassistant/components/zha/core/channels/manufacturerspecific.py index 6b4d2e2c08c..e15acdaf5e3 100644 --- a/homeassistant/components/zha/core/channels/manufacturerspecific.py +++ b/homeassistant/components/zha/core/channels/manufacturerspecific.py @@ -9,7 +9,7 @@ import logging from homeassistant.core import callback from homeassistant.helpers.dispatcher import async_dispatcher_send -from . import AttributeListeningChannel +from . import AttributeListeningChannel, ZigbeeChannel from .. import registries from ..const import ( REPORT_CONFIG_ASAP, @@ -34,6 +34,14 @@ class SmartThingsHumidity(AttributeListeningChannel): ] +@registries.CHANNEL_ONLY_CLUSTERS.register(0xFD00) +@registries.ZIGBEE_CHANNEL_REGISTRY.register(0xFD00) +class OsramButton(ZigbeeChannel): + """Osram button channel.""" + + REPORT_CONFIG = [] + + @registries.ZIGBEE_CHANNEL_REGISTRY.register( registries.SMARTTHINGS_ACCELERATION_CLUSTER )