Skip to content

Commit

Permalink
Listen for attribute changes of OnOff cluster in appliances (#121198)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt authored Jul 5, 2024
1 parent 98dfb47 commit 1c1e1a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/matter/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ def _get_temperature_in_degrees(
clusters.Thermostat.Attributes.TemperatureSetpointHold,
clusters.Thermostat.Attributes.UnoccupiedCoolingSetpoint,
clusters.Thermostat.Attributes.UnoccupiedHeatingSetpoint,
clusters.OnOff.Attributes.OnOff,
),
device_type=(device_types.Thermostat, device_types.RoomAirConditioner),
),
Expand Down
1 change: 1 addition & 0 deletions homeassistant/components/matter/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ def _calculate_features(
clusters.FanControl.Attributes.RockSetting,
clusters.FanControl.Attributes.WindSetting,
clusters.FanControl.Attributes.AirflowDirection,
clusters.OnOff.Attributes.OnOff,
),
),
]

0 comments on commit 1c1e1a7

Please sign in to comment.