Skip to content

Commit

Permalink
Fix CI failure in russound_rio (#133081)
Browse files Browse the repository at this point in the history
* Fix CI in russound_rio

* Adjust
  • Loading branch information
epenet authored Dec 12, 2024
1 parent 2cff752 commit bf9788b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions homeassistant/components/russound_rio/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import annotations

import logging
from typing import TYPE_CHECKING

from aiorussound import Controller
from aiorussound.const import FeatureFlag
Expand Down Expand Up @@ -157,6 +158,8 @@ def source(self) -> str:
@property
def source_list(self) -> list[str]:
"""Return a list of available input sources."""
if TYPE_CHECKING:
assert self._client.rio_version
available_sources = (
[
source
Expand Down

0 comments on commit bf9788b

Please sign in to comment.