mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix CI failure in russound_rio (#133081)
* Fix CI in russound_rio * Adjust
This commit is contained in:
parent
2cff7526d0
commit
bf9788b9c4
@ -3,6 +3,7 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import logging
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
from aiorussound import Controller
|
||||
from aiorussound.const import FeatureFlag
|
||||
@ -157,6 +158,8 @@ class RussoundZoneDevice(RussoundBaseEntity, MediaPlayerEntity):
|
||||
@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
|
||||
|
Loading…
x
Reference in New Issue
Block a user