G Johansson bc720b48b4
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
2024-01-30 15:07:47 +01:00

39 lines
875 B
Plaintext

# serializer version: 1
# name: test_static_attributes
ReadOnlyDict({
'aux_heat': 'off',
'current_humidity': 50,
'current_temperature': -6.7,
'fan_action': 'idle',
'fan_mode': 'auto',
'fan_modes': list([
'on',
'auto',
'diffuse',
]),
'friendly_name': 'device1',
'humidity': None,
'hvac_modes': list([
<HVACMode.OFF: 'off'>,
<HVACMode.HEAT_COOL: 'heat_cool'>,
<HVACMode.COOL: 'cool'>,
<HVACMode.HEAT: 'heat'>,
]),
'max_humidity': 99,
'max_temp': 1.7,
'min_humidity': 30,
'min_temp': -13.9,
'permanent_hold': False,
'preset_mode': 'none',
'preset_modes': list([
'none',
'away',
'hold',
]),
'supported_features': <ClimateEntityFeature: 479>,
'target_temp_high': None,
'target_temp_low': None,
'temperature': None,
})
# ---