From 2b0366b0bdced2f50ce3e296ed814a10fbcb454c Mon Sep 17 00:00:00 2001 From: Tom Hiller Date: Wed, 9 Feb 2022 22:55:38 -0500 Subject: [PATCH] feat: prep for v0.10.1 --- CHANGELOG.md | 4 ++++ custom_components/govee_ble_hci/manifest.json | 2 +- custom_components/govee_ble_hci/sensor.py | 4 ++-- info.md | 13 ++----------- 4 files changed, 9 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 49553f1..17f9fd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog All notable changes to this project will be documented in this file. +## 0.10.1 +**Fix:** + - **Renamed `device_state_attributes` to `extra_state_attributes`. Remove warnings related to Home Assistant [PR#47304](https://github.com/home-assistant/core/pull/47304)** + ## 0.10.0 **Feat:** - **Minimum and maximum temperature configurable.** Base on [SteveOnorato/moat_temp_hum_ble](https://github.com/SteveOnorato/moat_temp_hum_ble/). Thank you @SteveOnorato diff --git a/custom_components/govee_ble_hci/manifest.json b/custom_components/govee_ble_hci/manifest.json index 1626869..d51206f 100644 --- a/custom_components/govee_ble_hci/manifest.json +++ b/custom_components/govee_ble_hci/manifest.json @@ -5,6 +5,6 @@ "requirements": ["bleson==0.1.8"], "dependencies": [], "codeowners": ["@thrilleratplay"], - "version": "0.10.0", + "version": "0.10.1", "iot_class": "local_polling" } diff --git a/custom_components/govee_ble_hci/sensor.py b/custom_components/govee_ble_hci/sensor.py index 6783f6e..16372ce 100644 --- a/custom_components/govee_ble_hci/sensor.py +++ b/custom_components/govee_ble_hci/sensor.py @@ -286,7 +286,7 @@ def should_poll(self) -> bool: return False @property - def device_state_attributes(self): + def extra_state_attributes(self): """Return the state attributes.""" return self._device_state_attributes @@ -351,7 +351,7 @@ def should_poll(self) -> bool: return False @property - def device_state_attributes(self): + def extra_state_attributes(self): """Return the state attributes.""" return self._device_state_attributes diff --git a/info.md b/info.md index 10eb8ba..f099cc7 100644 --- a/info.md +++ b/info.md @@ -9,18 +9,9 @@ Existing users: I will continue to support this component for the foreseeable fu Thank you @Ernst79 for adding the Govee devices. Ultimately, it makes more sense for you, the end users, to have one component that does everything well and to pool development resources to ensure issues can be resolved quickly. -## 0.10.0 -**Feat:** - - **Minimum and maximum temperature configurable.** Base on [SteveOnorato/moat_temp_hum_ble](https://github.com/SteveOnorato/moat_temp_hum_ble/). Thank you @SteveOnorato - - **Devices now related.** Thank you @natekspencer +## 0.10.1 **Fix:** - - **Catch Bluetooth adapter error and provide useful information.** -**Chore:** - - **Removed "CONF_HCITOOL_ACTIVE"** - - -**BREAKING CHANGE** - With the removal of `CONF_HCITOOL_ACTIVE` if `hcitool_active` is still in your config, Home Assistant will not start. Please remove this deprecated flag. - + - **Renamed `device_state_attributes` to `extra_state_attributes`. Remove warnings related to Home Assistant [PR#47304](https://github.com/home-assistant/core/pull/47304)** **NOTE** FOR THOSE WHO ARE UPGRADING FROM V0.5 - a restart of the host device is suggested after upgrading this component. The previous implementation may still have processes running or sockets open which.could cause unforeseeable issues. I apologize for the inconvenience and future updates should go much smoother.