mirror of
https://github.com/Andre0512/hon.git
synced 2025-02-21 03:26:39 +01:00
Fix black issue
This commit is contained in:
parent
58ae497933
commit
11133c148b
@ -318,11 +318,12 @@ class HonClimateEntity(HonEntity, ClimateEntity):
|
||||
|
||||
if modes:
|
||||
self._attr_supported_features = (
|
||||
ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.PRESET_MODE
|
||||
ClimateEntityFeature.TARGET_TEMPERATURE
|
||||
| ClimateEntityFeature.PRESET_MODE
|
||||
)
|
||||
self._attr_preset_modes = modes
|
||||
else:
|
||||
self._attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE
|
||||
self._attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE
|
||||
|
||||
self._handle_coordinator_update(update=False)
|
||||
|
||||
|
2
info.md
2
info.md
@ -12,7 +12,7 @@ Home Assistant integration for [Haier's mobile app hOn](https://hon-smarthome.co
|
||||
[](https://github.com/Andre0512/hon#supported-languages)
|
||||
[](https://github.com/Andre0512/hon#supported-appliances)
|
||||
[](https://github.com/Andre0512/hon#supported-models)
|
||||
[](https://github.com/Andre0512/hon#appliance-features)
|
||||
[](https://github.com/Andre0512/hon#appliance-features)
|
||||
|
||||
## Supported Appliances
|
||||
- [Washing Machine](https://github.com/Andre0512/hon#washing-machine)
|
||||
|
Loading…
x
Reference in New Issue
Block a user