From 78a41022ade7f070db6ed5c7678a0ba1171b72e6 Mon Sep 17 00:00:00 2001 From: Inovelli <37669481+InovelliUSA@users.noreply.github.com> Date: Tue, 22 Mar 2022 14:59:57 -0400 Subject: [PATCH] Updating to allow for Button Press event logs for Inovelli devices (#68277) Co-authored-by: codyhackw <49957005+codyhackw@users.noreply.github.com> --- .../components/zha/core/channels/manufacturerspecific.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/homeassistant/components/zha/core/channels/manufacturerspecific.py b/homeassistant/components/zha/core/channels/manufacturerspecific.py index 8b840e76317..a69442ef38c 100644 --- a/homeassistant/components/zha/core/channels/manufacturerspecific.py +++ b/homeassistant/components/zha/core/channels/manufacturerspecific.py @@ -84,3 +84,11 @@ class SmartThingsAcceleration(ZigbeeChannel): ATTR_VALUE: value, }, ) + + +@registries.CHANNEL_ONLY_CLUSTERS.register(0xFC31) +@registries.CLIENT_CHANNELS_REGISTRY.register(0xFC31) +class InovelliCluster(ZigbeeChannel): + """Inovelli Button Press Event channel.""" + + REPORT_CONFIG = []