Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion custom_components/span_panel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ class _DeferredReload:
"""Per entry, the reload waiting for Home Assistant to start; see `update_listener`."""

HARDWARE_READ_TIMEOUT_S: Final = 5.0
"""How long setup waits for the panel's status before going on without it."""


class _HardwareRead(Enum):
Expand All @@ -182,7 +183,7 @@ class _HardwareRead(Enum):


HARDWARE_UNREAD: Final = _HardwareRead.UNREAD
"""How long setup waits for the panel's status before going on without it."""
"""What `_async_read_hardware_version` answers when the status cannot be read."""


async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
Expand Down
Loading