Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address late comments in #97955 #98165

Merged
merged 1 commit into from
Aug 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions homeassistant/components/frontier_silicon/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async def async_setup_entry(
async_add_entities(
[
AFSAPIDevice(
config_entry.unique_id or config_entry.entry_id,
config_entry.entry_id,
config_entry.title,
afsapi,
)
Expand Down Expand Up @@ -84,7 +84,7 @@ def __init__(self, unique_id: str, name: str | None, afsapi: AFSAPI) -> None:
identifiers={(DOMAIN, unique_id)},
name=name,
)
self._attr_unique_id = f"{unique_id}_media_player"
self._attr_unique_id = unique_id
self._max_volume: int | None = None

self.__modes_by_label: dict[str, str] | None = None
Expand Down
Loading