Skip to content

Commit

Permalink
fix: incorrect source type
Browse files Browse the repository at this point in the history
  • Loading branch information
noahhusby committed Sep 4, 2024
1 parent f14a05b commit d3c66db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion aiorussound/rio.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(
self._callbacks: dict[str, list[Any]] = {}
self._watched_devices: dict[str, bool] = {}
self._controllers: dict[int, Controller] = {}
self.sources: dict[int, Zone] = {}
self.sources: dict[int, Source] = {}
self.rio_version: str | None = None

def _retrieve_cached_variable(self, device_str: str, key: str) -> str:
Expand Down
4 changes: 2 additions & 2 deletions examples/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@

sys.path.insert(1, os.path.join(os.path.dirname(__file__), ".."))

from aiorussound import Russound, Zone
from aiorussound import Zone, RussoundClient

_LOGGER = logging.getLogger(__package__)


async def demo(loop: AbstractEventLoop, host: str) -> None:
conn_handler = RussoundTcpConnectionHandler(loop, host, 4999)
rus = Russound(conn_handler)
rus = RussoundClient(conn_handler)
await rus.connect()
_LOGGER.info("Supported Features:")
for flag in rus.supported_features:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "aiorussound"
version = "3.0.2"
version = "3.0.3"
description = "Asyncio client for Russound RIO devices."
authors = ["Noah Husby <[email protected]>"]
maintainers = ["Noah Husby <[email protected]>"]
Expand Down

0 comments on commit d3c66db

Please sign in to comment.