mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +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
|
from __future__ import annotations
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
from aiorussound import Controller
|
from aiorussound import Controller
|
||||||
from aiorussound.const import FeatureFlag
|
from aiorussound.const import FeatureFlag
|
||||||
@ -157,6 +158,8 @@ class RussoundZoneDevice(RussoundBaseEntity, MediaPlayerEntity):
|
|||||||
@property
|
@property
|
||||||
def source_list(self) -> list[str]:
|
def source_list(self) -> list[str]:
|
||||||
"""Return a list of available input sources."""
|
"""Return a list of available input sources."""
|
||||||
|
if TYPE_CHECKING:
|
||||||
|
assert self._client.rio_version
|
||||||
available_sources = (
|
available_sources = (
|
||||||
[
|
[
|
||||||
source
|
source
|
||||||
|
Loading…
x
Reference in New Issue
Block a user