Add device_type attribute for Thermostat sensors

This commit is contained in:
Ludovic BOUÉ
2025-11-30 21:43:43 +01:00
committed by GitHub
parent 0af8c8fd8c
commit 58f533feb6

View File

@@ -1510,6 +1510,7 @@ DISCOVERY_SCHEMAS = [
),
entity_class=MatterSensor,
required_attributes=(clusters.Thermostat.Attributes.SetpointChangeSource,),
device_type=(device_types.Thermostat,),
),
MatterDiscoverySchema(
platform=Platform.SENSOR,
@@ -1530,6 +1531,7 @@ DISCOVERY_SCHEMAS = [
required_attributes=(
clusters.Thermostat.Attributes.SetpointChangeSourceTimestamp,
),
device_type=(device_types.Thermostat,),
),
MatterDiscoverySchema(
platform=Platform.SENSOR,