From 5b6f1b6ed9bdd67ae0ec5105f11c49ac393e5166 Mon Sep 17 00:00:00 2001 From: Andrea Mattioli Date: Fri, 6 Dec 2024 09:27:43 +0000 Subject: [PATCH] fix --- custom_components/bticino_x8000/config_flow.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_components/bticino_x8000/config_flow.py b/custom_components/bticino_x8000/config_flow.py index b3c0e51..08b30ed 100644 --- a/custom_components/bticino_x8000/config_flow.py +++ b/custom_components/bticino_x8000/config_flow.py @@ -1,5 +1,6 @@ """Config Flow.""" +# pylint: disable=W0223 import logging import secrets from typing import Any @@ -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 @@ -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)" ) @@ -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()}}