Skip to content

Commit

Permalink
Update github URL
Browse files Browse the repository at this point in the history
Cleanup
  • Loading branch information
mj23000 committed Dec 8, 2022
1 parent 5636f2f commit 603d3cb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
20 changes: 10 additions & 10 deletions custom_components/bangolufsen/manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"domain": "bangolufsen",
"name": "Bang & Olufsen",
"documentation": "https://github.com/bang-olufsen/Mozart-HACS",
"issue_tracker": "https://github.com/bang-olufsen/Mozart-HACS/issues",
"requirements": ["mozart-api==2.3.4.15123.5"],
"zeroconf": ["_bangolufsen._tcp.local."],
"version": "0.2.0",
"codeowners": ["@mj23000"],
"iot_class": "local_push",
"config_flow": true
"domain": "bangolufsen",
"name": "Bang & Olufsen",
"documentation": "https://github.com/bang-olufsen/bangolufsen-hacs",
"issue_tracker": "https://github.com/bang-olufsen/bangolufsen-hacs/issues",
"requirements": ["mozart-api==2.3.4.15123.5"],
"zeroconf": ["_bangolufsen._tcp.local."],
"version": "0.2.1",
"codeowners": ["@mj23000"],
"iot_class": "local_push",
"config_flow": true
}
4 changes: 0 additions & 4 deletions custom_components/bangolufsen/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ def __init__(self, entry: ConfigEntry, coordinator: BangOlufsenCoordinator) -> N
)

# Extra state attributes.
self._favourites_attribute: dict[str, dict] | None = None
self._beolink_attribute: dict[str, dict] | None = None
self._bluetooth_attribute: dict[str, dict] | None = None

Expand Down Expand Up @@ -788,9 +787,6 @@ def extra_state_attributes(self) -> dict[str, Any] | None:
if self._beolink_attribute is not None:
attributes.update(self._beolink_attribute)

if self._favourites_attribute is not None:
attributes.update(self._favourites_attribute)

if self._bluetooth_attribute is not None:
attributes.update(self._bluetooth_attribute)

Expand Down

0 comments on commit 603d3cb

Please sign in to comment.