mirror of
https://github.com/Andre0512/hon.git
synced 2024-11-12 02:00:47 +01:00
Fix black issue
This commit is contained in:
parent
58ae497933
commit
11133c148b
@ -318,11 +318,12 @@ class HonClimateEntity(HonEntity, ClimateEntity):
|
|||||||
|
|
||||||
if modes:
|
if modes:
|
||||||
self._attr_supported_features = (
|
self._attr_supported_features = (
|
||||||
ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.PRESET_MODE
|
ClimateEntityFeature.TARGET_TEMPERATURE
|
||||||
|
| ClimateEntityFeature.PRESET_MODE
|
||||||
)
|
)
|
||||||
self._attr_preset_modes = modes
|
self._attr_preset_modes = modes
|
||||||
else:
|
else:
|
||||||
self._attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE
|
self._attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE
|
||||||
|
|
||||||
self._handle_coordinator_update(update=False)
|
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
|
|||||||
[![Supported Languages](https://img.shields.io/badge/Languages-19-royalblue)](https://github.com/Andre0512/hon#supported-languages)
|
[![Supported Languages](https://img.shields.io/badge/Languages-19-royalblue)](https://github.com/Andre0512/hon#supported-languages)
|
||||||
[![Supported Appliances](https://img.shields.io/badge/Appliances-11-forestgreen)](https://github.com/Andre0512/hon#supported-appliances)
|
[![Supported Appliances](https://img.shields.io/badge/Appliances-11-forestgreen)](https://github.com/Andre0512/hon#supported-appliances)
|
||||||
[![Supported Models](https://img.shields.io/badge/Models-110-yellowgreen)](https://github.com/Andre0512/hon#supported-models)
|
[![Supported Models](https://img.shields.io/badge/Models-110-yellowgreen)](https://github.com/Andre0512/hon#supported-models)
|
||||||
[![Supported Entities](https://img.shields.io/badge/Entities-315-crimson)](https://github.com/Andre0512/hon#appliance-features)
|
[![Supported Entities](https://img.shields.io/badge/Entities-317-crimson)](https://github.com/Andre0512/hon#appliance-features)
|
||||||
|
|
||||||
## Supported Appliances
|
## Supported Appliances
|
||||||
- [Washing Machine](https://github.com/Andre0512/hon#washing-machine)
|
- [Washing Machine](https://github.com/Andre0512/hon#washing-machine)
|
||||||
|
Loading…
Reference in New Issue
Block a user