File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
tests/components/plugwise Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,11 @@ async def test_adam_climate_entity_attributes(
3434 state = hass .states .get ("climate.woonkamer" )
3535 assert state
3636 assert state .state == HVACMode .AUTO
37+ assert state .attributes ["hvac_action" ] == "heating"
3738 assert state .attributes ["hvac_modes" ] == [
3839 HVACMode .AUTO ,
3940 HVACMode .HEAT ,
4041 ]
41- # hvac_action is not asserted as the fixture is not in line with recent firmware functionality
42-
4342 assert "preset_modes" in state .attributes
4443 assert "no_frost" in state .attributes ["preset_modes" ]
4544 assert "home" in state .attributes ["preset_modes" ]
@@ -57,12 +56,11 @@ async def test_adam_climate_entity_attributes(
5756 state = hass .states .get ("climate.jessie" )
5857 assert state
5958 assert state .state == HVACMode .AUTO
59+ assert state .attributes ["hvac_action" ] == "idle"
6060 assert state .attributes ["hvac_modes" ] == [
6161 HVACMode .AUTO ,
6262 HVACMode .HEAT ,
6363 ]
64- # hvac_action is not asserted as the fixture is not in line with recent firmware functionality
65-
6664 assert "preset_modes" in state .attributes
6765 assert "no_frost" in state .attributes ["preset_modes" ]
6866 assert "home" in state .attributes ["preset_modes" ]
You can’t perform that action at this time.
0 commit comments