mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Add some missing typing to isy994 (#99110)
This commit is contained in:
@ -44,6 +44,7 @@ from .const import (
|
||||
TYPE_INSTEON_MOTION,
|
||||
)
|
||||
from .entity import ISYNodeEntity, ISYProgramEntity
|
||||
from .models import IsyData
|
||||
|
||||
DEVICE_PARENT_REQUIRED = [
|
||||
BinarySensorDeviceClass.OPENING,
|
||||
@ -79,7 +80,7 @@ async def async_setup_entry(
|
||||
| ISYBinarySensorProgramEntity
|
||||
)
|
||||
|
||||
isy_data = hass.data[DOMAIN][entry.entry_id]
|
||||
isy_data: IsyData = hass.data[DOMAIN][entry.entry_id]
|
||||
devices: dict[str, DeviceInfo] = isy_data.devices
|
||||
for node in isy_data.nodes[Platform.BINARY_SENSOR]:
|
||||
assert isinstance(node, Node)
|
||||
|
Reference in New Issue
Block a user