mirror of
https://github.com/home-assistant/core.git
synced 2025-07-11 07:17:12 +00:00
osram cluster (#26555)
This commit is contained in:
parent
4f3a2c0443
commit
1cea3a6abc
@ -9,7 +9,7 @@ import logging
|
|||||||
from homeassistant.core import callback
|
from homeassistant.core import callback
|
||||||
from homeassistant.helpers.dispatcher import async_dispatcher_send
|
from homeassistant.helpers.dispatcher import async_dispatcher_send
|
||||||
|
|
||||||
from . import AttributeListeningChannel
|
from . import AttributeListeningChannel, ZigbeeChannel
|
||||||
from .. import registries
|
from .. import registries
|
||||||
from ..const import (
|
from ..const import (
|
||||||
REPORT_CONFIG_ASAP,
|
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.ZIGBEE_CHANNEL_REGISTRY.register(
|
||||||
registries.SMARTTHINGS_ACCELERATION_CLUSTER
|
registries.SMARTTHINGS_ACCELERATION_CLUSTER
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user