Skip to content

Commit

Permalink
update unit test to support both HEAT and COOL mode
Browse files Browse the repository at this point in the history
  • Loading branch information
muchasuerte committed Oct 30, 2023
1 parent a62a3d1 commit 9c62bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_switch_ac.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def find_my_entity(entity_id) -> ClimateEntity:
assert entity.ac_mode is True
assert entity.hvac_action is HVACAction.OFF
assert entity.hvac_mode is HVACMode.OFF
assert entity.hvac_modes == [HVACMode.COOL, HVACMode.OFF]
assert entity.hvac_modes == [HVACMode.HEAT, HVACMode.COOL, HVACMode.OFF]
assert entity.target_temperature == entity.max_temp
assert entity.preset_modes == [
PRESET_NONE,
Expand Down

0 comments on commit 9c62bfb

Please sign in to comment.