Add TURN_OFF and TURN_ON to ClimateEntityFeature (#101673)

* Add ClimateEntityFeature.TURN_OFF

* Fixes

* Fixes

* wording

* Change to services

* Fixing

* Fixing

* Last bits

* Review comments

* Add hvac_modes checks

* Fixes

* Add tests

* Review comments

* Update snapshots

* balboa

* coolmaster

* ecobee

* mqtt

* nest

* plugwise

* smarttub

* whirlpool

* zwave_js

* fix test climate

* test climate

* zwave

* nexia

* nuheat

* venstar

* tado

* smartthings

* self.hvac_modes not None

* more tests

* homekit_controller

* homekit controller snapshot
This commit is contained in:
G Johansson 2024-01-30 15:07:47 +01:00 committed by GitHub
parent cece117c93
commit bc720b48b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 534 additions and 110 deletions

View file

@ -97,6 +97,8 @@ async def test_static_attributes(
== ClimateEntityFeature.TARGET_TEMPERATURE
| ClimateEntityFeature.FAN_MODE
| ClimateEntityFeature.SWING_MODE
| ClimateEntityFeature.TURN_OFF
| ClimateEntityFeature.TURN_ON
)
assert attributes[ATTR_HVAC_MODES] == [
HVACMode.COOL,