Collection of code styling tweaks (#87381)

This commit is contained in:
Franck Nijhof
2023-02-04 18:52:26 +01:00
committed by GitHub
parent e55f11296e
commit 3d557b5583
52 changed files with 274 additions and 156 deletions

View File

@@ -72,7 +72,12 @@ async def async_setup_entry(
child_nodes: list[
tuple[Node, BinarySensorDeviceClass | None, str | None, DeviceInfo | None]
] = []
entity: ISYInsteonBinarySensorEntity | ISYBinarySensorEntity | ISYBinarySensorHeartbeat | ISYBinarySensorProgramEntity
entity: (
ISYInsteonBinarySensorEntity
| ISYBinarySensorEntity
| ISYBinarySensorHeartbeat
| ISYBinarySensorProgramEntity
)
isy_data = hass.data[DOMAIN][entry.entry_id]
devices: dict[str, DeviceInfo] = isy_data.devices