This commit is contained in:
RyanClark123
2023-05-30 13:47:20 +01:00
2 changed files with 12 additions and 2 deletions
+11 -1
View File
@@ -1,6 +1,16 @@
# Changelog
<!--next-version-placeholder-->
## 2023.05.6 (2023-05-30)
### Fix
* In light of submitting this as a pull request to the core of HA there have been some refactoring changes to comply with HA's style requirements
* Sensor names now moved to strings file to allow for translations
* Coordinator now properly handles multiple devices
* Spelling of signal strength sensor corrected
### Feature
* Tests added
## 2023.05.5 (2023-05-19)
#### Fix
* Owlet refresh token becomes invalid after 24 hours. Meant that after 1 day the integration would stop working. Moved to pyowletapi v2023.5.28 which uses different refresh token, should no longer need reconfiguring after 24 hours ([`dc58b19`](https://github.com/ryanbdclark/owlet/commit/0141f7d01a9ac9b3e1dcc74cabb896e19bd4a821))
@@ -33,4 +43,4 @@
### Fix
* Removed Owlet specific constants, now using homeassistant generic constants
* On initialisation the integration would crash when trying to update the auth token, the integration would then have to be deleted and setup again
* On initialisation the integration would crash when trying to update the auth token, the integration would then have to be deleted and setup again
+1 -1
View File
@@ -102,7 +102,7 @@ async def async_setup_entry(
) -> None:
"""Set up the owlet sensors from config entry."""
coordinators: OwletCoordinator = hass.data[DOMAIN][config_entry.entry_id]
coordinators: OwletCoordinator = hass.data[DOMAIN][config_entry.entry_id].values()
async_add_entities(
OwletBinarySensor(coordinator, sensor)