diff --git a/custom_components/versatile_thermostat/config_flow.py b/custom_components/versatile_thermostat/config_flow.py index 5c8a52b..27e1930 100644 --- a/custom_components/versatile_thermostat/config_flow.py +++ b/custom_components/versatile_thermostat/config_flow.py @@ -27,14 +27,13 @@ from homeassistant.helpers.entity_registry import ( RegistryEntry, async_get, ) -from homeassistant.components.climate.const import DOMAIN as CLIMATE_DOMAIN -from homeassistant.components.climate import ClimateEntity -from homeassistant.components.switch.const import DOMAIN as SWITCH_DOMAIN +from homeassistant.components.climate import ClimateEntity, DOMAIN as CLIMATE_DOMAIN +from homeassistant.components.switch import DOMAIN as SWITCH_DOMAIN from homeassistant.components.input_boolean import ( DOMAIN as INPUT_BOOLEAN_DOMAIN, ) -from homeassistant.components.sensor.const import DOMAIN as SENSOR_DOMAIN +from homeassistant.components.sensor import DOMAIN as SENSOR_DOMAIN from homeassistant.components.input_number import ( DOMAIN as INPUT_NUMBER_DOMAIN, ) diff --git a/custom_components/versatile_thermostat/strings.json b/custom_components/versatile_thermostat/strings.json index e67adfa..1014654 100644 --- a/custom_components/versatile_thermostat/strings.json +++ b/custom_components/versatile_thermostat/strings.json @@ -202,7 +202,7 @@ "already_configured": "Device is already configured" } }, - "selectors": { + "selector": { "thermostat_type": { "options": { "thermostat_over_switch": "Thermostat over a switch", diff --git a/custom_components/versatile_thermostat/translations/en.json b/custom_components/versatile_thermostat/translations/en.json index e67adfa..1014654 100644 --- a/custom_components/versatile_thermostat/translations/en.json +++ b/custom_components/versatile_thermostat/translations/en.json @@ -202,7 +202,7 @@ "already_configured": "Device is already configured" } }, - "selectors": { + "selector": { "thermostat_type": { "options": { "thermostat_over_switch": "Thermostat over a switch", diff --git a/custom_components/versatile_thermostat/translations/fr.json b/custom_components/versatile_thermostat/translations/fr.json index d0180fb..dfb0e91 100644 --- a/custom_components/versatile_thermostat/translations/fr.json +++ b/custom_components/versatile_thermostat/translations/fr.json @@ -202,7 +202,7 @@ "already_configured": "Le device est déjà configuré" } }, - "selectors": { + "selector": { "thermostat_type": { "options": { "thermostat_over_switch": "Thermostat sur un switch",