Skip to content

Commit

Permalink
Merge pull request #571 from Moustachauve/debug-info
Browse files Browse the repository at this point in the history
Small refactor to fix some lint errors
  • Loading branch information
ic-dev21 committed Feb 11, 2025
1 parent 9d59328 commit a500c5f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions custom_components/hilo/__init__.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Support for Hilo automation systems."""

from __future__ import annotations

import asyncio
Expand Down Expand Up @@ -244,7 +245,10 @@ def __init__(self, hass: HomeAssistant, entry: ConfigEntry, api: API) -> None:
self.appreciation = entry.options.get(
CONF_APPRECIATION_PHASE, DEFAULT_APPRECIATION_PHASE
)
self.pre_cold = entry.options.get(CONF_PRE_COLD_PHASE, DEFAULT_PRE_COLD_PHASE)
self.pre_cold = entry.options.get(
CONF_PRE_COLD_PHASE,
DEFAULT_PRE_COLD_PHASE,
)
self.challenge_lock = entry.options.get(
CONF_CHALLENGE_LOCK, DEFAULT_CHALLENGE_LOCK
)
Expand Down Expand Up @@ -911,7 +915,7 @@ def __init__(
hilo: Hilo,
name: Union[str, None] = None,
*,
device: HiloDevice | None = None,
device: HiloDevice,
) -> None:
"""Initialize."""
assert hilo.coordinator
Expand Down

0 comments on commit a500c5f

Please sign in to comment.