Skip to content

Commit

Permalink
Merge branch 'main' into config_entry
Browse files Browse the repository at this point in the history
  • Loading branch information
basbruss committed Mar 13, 2024
2 parents 1e6a5d7 + e4190db commit 12721b1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
4 changes: 2 additions & 2 deletions custom_components/adaptive_cover/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ async def async_step_vertical(self, user_input: dict[str, Any] | None = None):
return await self.async_step_update()
return self.async_show_form(
step_id="vertical",
data_schema=CLIMATE_MODE.extend(HORIZONTAL_OPTIONS.schema),
data_schema=CLIMATE_MODE.extend(VERTICAL_OPTIONS.schema),
)

async def async_step_horizontal(self, user_input: dict[str, Any] | None = None):
Expand All @@ -251,7 +251,7 @@ async def async_step_horizontal(self, user_input: dict[str, Any] | None = None):
return await self.async_step_update()
return self.async_show_form(
step_id="horizontal",
data_schema=CLIMATE_MODE.extend(VERTICAL_OPTIONS.schema),
data_schema=CLIMATE_MODE.extend(HORIZONTAL_OPTIONS.schema),
)

async def async_step_tilt(self, user_input: dict[str, Any] | None = None):
Expand Down
18 changes: 13 additions & 5 deletions custom_components/adaptive_cover/translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@
"blueprint": "Voeg blueprint toe aan HomeAssistant",
"mode": "Type scherm"
}
}
},
"vertical": {
"data": {
"name": "Naam",
"blueprint": "Voeg blueprint toe aan HomeAssistant",
"set_azimuth": "Raam Azimuth",
"window_height": "Raam Hoogte",
"distance_shaded_area": "Schaduwgebied",
Expand Down Expand Up @@ -51,6 +48,12 @@
"temp_low": "Minimale comfort temperatuur",
"temp_high": "Maximale comfort temperatuur"
},
"data_description":{
"presence_entity": "",
"weather_entity": "",
"temp_low": "",
"temp_high": ""
},
"description": "Voeg additionele klimaat configuratie variabelen toe. Weer and Aanwezigheid entiteiten zijn optioneel",
"title": "Klimaat instellingen"
},
Expand Down Expand Up @@ -133,14 +136,13 @@
},
"description": "Voeg configuratie variabelen toe",
"title": "Luxaflex"
}
}
},
"options": {
"step": {
"vertical": {
"data": {
"name": "Naam",
"blueprint": "Voeg blueprint toe aan HomeAssistant",
"set_azimuth": "Raam Azimuth",
"window_height": "Raam Hoogte",
"distance_shaded_area": "Schaduwgebied",
Expand Down Expand Up @@ -178,6 +180,12 @@
"temp_low": "Minimale comfort temperatuur",
"temp_high": "Maximale comfort temperatuur"
},
"data_description":{
"presence_entity": "",
"weather_entity": "",
"temp_low": "",
"temp_high": ""
},
"description": "Voeg additionele klimaat configuratie variabelen toe. Weer and Aanwezigheid entiteiten zijn optioneel",
"title": "Klimaat instellingen"
},
Expand Down

0 comments on commit 12721b1

Please sign in to comment.