File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
homeassistant/components/comelit
tests/components/comelit/snapshots Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -134,11 +134,9 @@ def _update_attributes(self) -> None:
134134 self ._attr_current_temperature = values [0 ] / 10
135135
136136 self ._attr_hvac_action = None
137- if _mode == ClimaComelitMode .OFF :
138- self ._attr_hvac_action = HVACAction .OFF
139137 if not _active :
140138 self ._attr_hvac_action = HVACAction .IDLE
141- if _mode in API_STATUS :
139+ elif _mode in API_STATUS :
142140 self ._attr_hvac_action = API_STATUS [_mode ]["hvac_action" ]
143141
144142 self ._attr_hvac_mode = None
Original file line number Diff line number Diff line change 4848 'attributes': ReadOnlyDict({
4949 'current_temperature': 22.1,
5050 'friendly_name': 'Climate0',
51- 'hvac_action': <HVACAction.HEATING : 'heating '>,
51+ 'hvac_action': <HVACAction.IDLE : 'idle '>,
5252 'hvac_modes': list([
5353 <HVACMode.AUTO: 'auto'>,
5454 <HVACMode.COOL: 'cool'>,
You can’t perform that action at this time.
0 commit comments