From 11133c148bf17c063a56e2350e3621ac8edd56fb Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Mon, 20 Nov 2023 17:44:28 +0100 Subject: [PATCH] Fix black issue --- custom_components/hon/climate.py | 5 +++-- info.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/custom_components/hon/climate.py b/custom_components/hon/climate.py index 7912eac..d43b43f 100644 --- a/custom_components/hon/climate.py +++ b/custom_components/hon/climate.py @@ -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) diff --git a/info.md b/info.md index 795c3e5..4cfde05 100644 --- a/info.md +++ b/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 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 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 - [Washing Machine](https://github.com/Andre0512/hon#washing-machine)