From 5c46504d0e4866692f558d7f005694c166a9fbd0 Mon Sep 17 00:00:00 2001 From: Li Shuzhen Date: Fri, 7 Mar 2025 14:20:17 +0800 Subject: [PATCH] docs: update changelog and version to v0.2.1 (#848) --- CHANGELOG.md | 13 +++++++++++++ custom_components/xiaomi_home/light.py | 2 +- custom_components/xiaomi_home/manifest.json | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bbdc01b..b75454d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # CHANGELOG +## v0.2.1 +### Added +- Add the preset mode for the thermostat. [#833](https://github.com/XiaoMi/ha_xiaomi_home/pull/833) + +### Changed +- Change paho-mqtt version to adapt Home Assistant 2025.03. [#839](https://github.com/XiaoMi/ha_xiaomi_home/pull/839) +- Revert to use multi_lang.json. [#834](https://github.com/XiaoMi/ha_xiaomi_home/pull/834) + +### Fixed +- Fix the opening and the closing status of linp.wopener.wd1lb. [#826](https://github.com/XiaoMi/ha_xiaomi_home/pull/826) +- Fix the format type of the wind-reverse property. [#810](https://github.com/XiaoMi/ha_xiaomi_home/pull/810) +- Fix the fan-level property without value-list but with value-range. [#808](https://github.com/XiaoMi/ha_xiaomi_home/pull/808) + ## v0.2.0 This version has modified some default units of sensors. After updating, it may cause Home Assistant to pop up some compatibility warnings. You can re-add the integration to resolve it. diff --git a/custom_components/xiaomi_home/light.py b/custom_components/xiaomi_home/light.py index ef9fed2..26ed208 100644 --- a/custom_components/xiaomi_home/light.py +++ b/custom_components/xiaomi_home/light.py @@ -179,7 +179,7 @@ class Light(MIoTServiceEntity, LightEntity): ) / prop.value_range.step) > self._VALUE_RANGE_MODE_COUNT_MAX ): - _LOGGER.info( + _LOGGER.error( 'too many mode values, %s, %s, %s', self.entity_id, prop.name, prop.value_range) else: diff --git a/custom_components/xiaomi_home/manifest.json b/custom_components/xiaomi_home/manifest.json index 217ef07..3bfad40 100644 --- a/custom_components/xiaomi_home/manifest.json +++ b/custom_components/xiaomi_home/manifest.json @@ -25,7 +25,7 @@ "cryptography", "psutil" ], - "version": "v0.2.0", + "version": "v0.2.1", "zeroconf": [ "_miot-central._tcp.local." ]