diff --git a/zha/zigbee/cluster_handlers/manufacturerspecific.py b/zha/zigbee/cluster_handlers/manufacturerspecific.py index f9c54ea13..ff27c6500 100644 --- a/zha/zigbee/cluster_handlers/manufacturerspecific.py +++ b/zha/zigbee/cluster_handlers/manufacturerspecific.py @@ -532,6 +532,11 @@ class SinopeManufacturerClusterHandler(ClusterHandler): def __init__(self, cluster: zigpy.zcl.Cluster, endpoint: Endpoint) -> None: """Initialize Sinope cluster handler.""" super().__init__(cluster, endpoint) + + if self.cluster.endpoint.model == "TH1300ZB": + self.ZCL_INIT_ATTRS["room_temperature"] = True + return # Don't apply switch-specific attributes below + self.ZCL_INIT_ATTRS = { "double_up_full": True, "on_led_color": True, @@ -571,9 +576,10 @@ def matches(cls, cluster: zigpy.zcl.Cluster, endpoint: Endpoint) -> bool: "DM2550ZB", "DM2550ZB-G2", ) + thermostats = ("TH1300ZB",) _LOGGER.debug( "matching sinope device to cluster handler %s", cluster.endpoint.model ) - return cluster.endpoint.model in switches + return cluster.endpoint.model in (switches + thermostats)