Skip to content

Commit

Permalink
Try to fix const import
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Marc Collin committed Jan 29, 2023
1 parent bb2c1d3 commit 49c85ee
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions custom_components/versatile_thermostat/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@
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,
)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/versatile_thermostat/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
"already_configured": "Device is already configured"
}
},
"selectors": {
"selector": {
"thermostat_type": {
"options": {
"thermostat_over_switch": "Thermostat over a switch",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
"already_configured": "Device is already configured"
}
},
"selectors": {
"selector": {
"thermostat_type": {
"options": {
"thermostat_over_switch": "Thermostat over a switch",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
"already_configured": "Le device est déjà configuré"
}
},
"selectors": {
"selector": {
"thermostat_type": {
"options": {
"thermostat_over_switch": "Thermostat sur un switch",
Expand Down

0 comments on commit 49c85ee

Please sign in to comment.