Try to fix const import

This commit is contained in:
Jean-Marc Collin
2023-01-29 22:01:05 +01:00
parent bb2c1d328b
commit 49c85eeb2b
4 changed files with 6 additions and 7 deletions

View File

@@ -27,14 +27,13 @@ from homeassistant.helpers.entity_registry import (
RegistryEntry, RegistryEntry,
async_get, async_get,
) )
from homeassistant.components.climate.const import DOMAIN as CLIMATE_DOMAIN from homeassistant.components.climate import ClimateEntity, DOMAIN as CLIMATE_DOMAIN
from homeassistant.components.climate import ClimateEntity from homeassistant.components.switch import DOMAIN as SWITCH_DOMAIN
from homeassistant.components.switch.const import DOMAIN as SWITCH_DOMAIN
from homeassistant.components.input_boolean import ( from homeassistant.components.input_boolean import (
DOMAIN as INPUT_BOOLEAN_DOMAIN, 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 ( from homeassistant.components.input_number import (
DOMAIN as INPUT_NUMBER_DOMAIN, DOMAIN as INPUT_NUMBER_DOMAIN,
) )

View File

@@ -202,7 +202,7 @@
"already_configured": "Device is already configured" "already_configured": "Device is already configured"
} }
}, },
"selectors": { "selector": {
"thermostat_type": { "thermostat_type": {
"options": { "options": {
"thermostat_over_switch": "Thermostat over a switch", "thermostat_over_switch": "Thermostat over a switch",

View File

@@ -202,7 +202,7 @@
"already_configured": "Device is already configured" "already_configured": "Device is already configured"
} }
}, },
"selectors": { "selector": {
"thermostat_type": { "thermostat_type": {
"options": { "options": {
"thermostat_over_switch": "Thermostat over a switch", "thermostat_over_switch": "Thermostat over a switch",

View File

@@ -202,7 +202,7 @@
"already_configured": "Le device est déjà configuré" "already_configured": "Le device est déjà configuré"
} }
}, },
"selectors": { "selector": {
"thermostat_type": { "thermostat_type": {
"options": { "options": {
"thermostat_over_switch": "Thermostat sur un switch", "thermostat_over_switch": "Thermostat sur un switch",