Skip to content

Commit

Permalink
Fix config_flow error
Browse files Browse the repository at this point in the history
  • Loading branch information
cyr-ius committed Jan 4, 2024
1 parent 2656ada commit 59e824e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion custom_components/heatzy/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import logging
from typing import Any

from heatzypy.exception import HeatzyException
import voluptuous as vol
from wsheatzypy.exception import HeatzyException

from homeassistant.components.climate import (
ATTR_TARGET_TEMP_HIGH,
Expand Down
8 changes: 6 additions & 2 deletions custom_components/heatzy/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@

import logging

from heatzypy import HeatzyClient
from heatzypy.exception import AuthenticationFailed, HeatzyException, HttpRequestFailed
import voluptuous as vol
from wsheatzypy import HeatzyClient
from wsheatzypy.exception import (
AuthenticationFailed,
HeatzyException,
HttpRequestFailed,
)

from homeassistant import config_entries
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME
Expand Down
2 changes: 1 addition & 1 deletion custom_components/heatzy/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import logging

from heatzypy.exception import HeatzyException
from wsheatzypy.exception import HeatzyException

from homeassistant.components.switch import SwitchEntity
from homeassistant.config_entries import ConfigEntry
Expand Down

0 comments on commit 59e824e

Please sign in to comment.