Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-mattioli committed Dec 6, 2024
1 parent 444dc15 commit 5b6f1b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/bticino_x8000/config_flow.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Config Flow."""

# pylint: disable=W0223
import logging
import secrets
from typing import Any
Expand All @@ -8,7 +9,6 @@
import voluptuous as vol
from homeassistant import config_entries
from homeassistant.components.webhook import async_generate_id as generate_id
from homeassistant.data_entry_flow import FlowResult
from homeassistant.helpers import config_validation as cv

from .api import BticinoX8000Api
Expand Down Expand Up @@ -44,7 +44,7 @@ async def async_step_user(
else:
external_url = (
"My HA external url ex: "
"https://pippo.duckdns.com:8123 "
"https://example.com:8123 "
"(specify the port if is not standard 443)"
)

Expand Down Expand Up @@ -223,7 +223,7 @@ async def get_programs_from_api(

async def async_step_select_thermostats(
self, user_input: dict[str, Any]
) -> FlowResult:
) -> config_entries.ConfigFlowResult:
"""User can select one o more thermostat to add."""
selected_thermostats = [
{thermo_id: {**thermo_data, "webhook_id": generate_id()}}
Expand Down

0 comments on commit 5b6f1b6

Please sign in to comment.