Skip to content

Commit 7193a62

Browse files
author
Ted Roberts
committed
Fix runtime compatibility aliasing and release v0.1.21
1 parent e074273 commit 7193a62

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

custom_components/kaleidescape_strato/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from __future__ import annotations
22

33
import logging
4+
from typing import Any
45

56
from homeassistant.config_entries import ConfigEntry
67
from homeassistant.core import HomeAssistant
@@ -18,8 +19,7 @@
1819
)
1920
from .coordinator import KaleidescapeSensorCoordinator
2021

21-
type KaleidescapeConfigEntry = ConfigEntry
22-
type KaleidescapePlatform = str
22+
KaleidescapeConfigEntry = ConfigEntry
2323

2424
_LOGGER = logging.getLogger(__name__)
2525
DATA_LOADED_PLATFORMS = "loaded_platforms"
@@ -59,7 +59,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: KaleidescapeConfigEntry)
5959
DATA_DEVICE_TYPE: device_type,
6060
}
6161

62-
loaded_platforms: list[KaleidescapePlatform] = []
62+
loaded_platforms: list[Any] = []
6363
for platform in PLATFORMS:
6464
try:
6565
await hass.config_entries.async_forward_entry_setups(entry, [platform])

custom_components/kaleidescape_strato/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
}
1616
],
1717
"requirements": [],
18-
"version": "0.1.20"
18+
"version": "0.1.21"
1919
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "kaleidescape-strato-ha"
7-
version = "0.1.20"
7+
version = "0.1.21"
88
description = "Home Assistant custom integration for Kaleidescape Strato players"
99
readme = "README.md"
1010
requires-python = ">=3.12"

0 commit comments

Comments
 (0)