Skip to content

Commit

Permalink
fix deviceinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Aohzan committed Aug 8, 2023
1 parent a86bf37 commit a891e75
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.2.1

- fix deviceinfo

## 1.2.0

- add `score` unit of measurement for sleep score
Expand Down
2 changes: 1 addition & 1 deletion custom_components/polar/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"requirements": [
"isodate==0.6.1"
],
"version": "1.2.0"
"version": "1.2.1"
}
4 changes: 2 additions & 2 deletions custom_components/polar/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ def __init__(
configuration_url="https://flow.polar.com/",
entry_type=DeviceEntryType.SERVICE,
identifiers={(DOMAIN, coordinator.entry_id)},
default_manufacturer="Polar",
default_name=coordinator.user_name,
manufacturer="Polar",
name=coordinator.user_name,
)
self._attr_unique_id = (
f"{coordinator.entry_id}_{description.unique_id or description.key}"
Expand Down

0 comments on commit a891e75

Please sign in to comment.