Skip to content

Commit

Permalink
🚀 Add new Zebra cover configuration for double roller blinds.
Browse files Browse the repository at this point in the history
  • Loading branch information
basbruss committed Apr 17, 2024
1 parent 5146ad9 commit e2c96f1
Show file tree
Hide file tree
Showing 3 changed files with 208 additions and 2 deletions.
71 changes: 70 additions & 1 deletion custom_components/adaptive_cover/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,40 @@
"manual_override_reset": "Option to reset the manual override duration after each manual adjustment; if disabled, the duration only applies to the first manual adjustment"
}
},
"double_roller": {
"data": {
"double_roller": "Adjust vertical position as well",
"set_azimuth": "Window Azimuth",
"window_height": "Window Height",
"distance_shaded_area": "Shaded area",
"default_percentage": "Default Position",
"max_position": "Maximum Position",
"fov_left": "Field of view left",
"fov_right": "Field of view right",
"group": "Cover Entities",
"inverse_state": "Inverse the state (needed for some covers that don't follow HA guidelines)",
"sunset_position": "Sunset Position",
"sunset_offset": "Sunset Offset",
"sunrise_offset": "Sunrise Offset",
"climate_mode": "Climate Mode"
},
"data_description": {
"double_roller": "Set the initial value of the switch to adjust vertical position",
"window_height": "Specify window height in meters",
"distance_shaded_area": "Distance from cover to shaded area in meters",
"default_percentage": "Default cover position as a percentage",
"max_position": "Maximum adjustable cover position as a percentage",
"fov_left": "Field of view angle to the left of the window center",
"fov_right": "Field of view angle to the right of the window center",
"group": "Select entities to control via integration",
"sunset_position": "Position to switch to after sunset",
"sunset_offset": "Offset (±) from sunset time in minutes",
"sunrise_offset": "Offset (±) from sunrise time in minutes",
"climate_mode": "Configure variables for climate mode"
},
"description": "Double roller cover configuration that supports tilt and position adjustments",
"title": "Zebra cover"
},
"vertical": {
"data": {
"set_azimuth": "Window Azimuth",
Expand Down Expand Up @@ -188,6 +222,40 @@
"manual_override_reset": "Option to reset the manual override duration after each manual adjustment; if disabled, the duration only applies to the first manual adjustment"
}
},
"double_roller": {
"data": {
"double_roller": "Adjust vertical position as well",
"set_azimuth": "Window Azimuth",
"window_height": "Window Height",
"distance_shaded_area": "Shaded area",
"default_percentage": "Default Position",
"max_position": "Maximum Position",
"fov_left": "Field of view left",
"fov_right": "Field of view right",
"group": "Cover Entities",
"inverse_state": "Inverse the state (needed for some covers that don't follow HA guidelines)",
"sunset_position": "Sunset Position",
"sunset_offset": "Sunset Offset",
"sunrise_offset": "Sunrise Offset",
"climate_mode": "Climate Mode"
},
"data_description": {
"double_roller": "Set the initial value of the switch to adjust vertical position",
"window_height": "Specify window height in meters",
"distance_shaded_area": "Distance from cover to shaded area in meters",
"default_percentage": "Default cover position as a percentage",
"max_position": "Maximum adjustable cover position as a percentage",
"fov_left": "Field of view angle to the left of the window center",
"fov_right": "Field of view angle to the right of the window center",
"group": "Select entities to control via integration",
"sunset_position": "Position to switch to after sunset",
"sunset_offset": "Offset (±) from sunset time in minutes",
"sunrise_offset": "Offset (±) from sunrise time in minutes",
"climate_mode": "Configure variables for climate mode"
},
"description": "Double roller cover configuration that supports tilt and position adjustments",
"title": "Zebra cover"
},
"vertical": {
"data": {
"set_azimuth": "Window Azimuth",
Expand Down Expand Up @@ -328,7 +396,8 @@
"options": {
"cover_blind": "Vertical blind",
"cover_awning": "Horizontal blind",
"cover_tilt": "Tilted blind"
"cover_tilt": "Tilted blind",
"cover_double_roller": "Zebra blind"
}
},
"tilt_mode": {
Expand Down
68 changes: 68 additions & 0 deletions custom_components/adaptive_cover/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,40 @@
"manual_override_reset": "Option to reset the manual override duration after each manual adjustment; if disabled, the duration only applies to the first manual adjustment"
}
},
"double_roller": {
"data": {
"double_roller": "Adjust vertical position as well",
"set_azimuth": "Window Azimuth",
"window_height": "Window Height",
"distance_shaded_area": "Shaded area",
"default_percentage": "Default Position",
"max_position": "Maximum Position",
"fov_left": "Field of view left",
"fov_right": "Field of view right",
"group": "Cover Entities",
"inverse_state": "Inverse the state (needed for some covers that don't follow HA guidelines)",
"sunset_position": "Sunset Position",
"sunset_offset": "Sunset Offset",
"sunrise_offset": "Sunrise Offset",
"climate_mode": "Climate Mode"
},
"data_description": {
"double_roller": "Set the initial value of the switch to adjust vertical position",
"window_height": "Specify window height in meters",
"distance_shaded_area": "Distance from cover to shaded area in meters",
"default_percentage": "Default cover position as a percentage",
"max_position": "Maximum adjustable cover position as a percentage",
"fov_left": "Field of view angle to the left of the window center",
"fov_right": "Field of view angle to the right of the window center",
"group": "Select entities to control via integration",
"sunset_position": "Position to switch to after sunset",
"sunset_offset": "Offset (±) from sunset time in minutes",
"sunrise_offset": "Offset (±) from sunrise time in minutes",
"climate_mode": "Configure variables for climate mode"
},
"description": "Double roller cover configuration that supports tilt and position adjustments",
"title": "Zebra cover"
},
"vertical": {
"data": {
"set_azimuth": "Window Azimuth",
Expand Down Expand Up @@ -188,6 +222,40 @@
"manual_override_reset": "Option to reset the manual override duration after each manual adjustment; if disabled, the duration only applies to the first manual adjustment"
}
},
"double_roller": {
"data": {
"double_roller": "Adjust vertical position as well",
"set_azimuth": "Window Azimuth",
"window_height": "Window Height",
"distance_shaded_area": "Shaded area",
"default_percentage": "Default Position",
"max_position": "Maximum Position",
"fov_left": "Field of view left",
"fov_right": "Field of view right",
"group": "Cover Entities",
"inverse_state": "Inverse the state (needed for some covers that don't follow HA guidelines)",
"sunset_position": "Sunset Position",
"sunset_offset": "Sunset Offset",
"sunrise_offset": "Sunrise Offset",
"climate_mode": "Climate Mode"
},
"data_description": {
"double_roller": "Set the initial value of the switch to adjust vertical position",
"window_height": "Specify window height in meters",
"distance_shaded_area": "Distance from cover to shaded area in meters",
"default_percentage": "Default cover position as a percentage",
"max_position": "Maximum adjustable cover position as a percentage",
"fov_left": "Field of view angle to the left of the window center",
"fov_right": "Field of view angle to the right of the window center",
"group": "Select entities to control via integration",
"sunset_position": "Position to switch to after sunset",
"sunset_offset": "Offset (±) from sunset time in minutes",
"sunrise_offset": "Offset (±) from sunrise time in minutes",
"climate_mode": "Configure variables for climate mode"
},
"description": "Double roller cover configuration that supports tilt and position adjustments",
"title": "Zebra cover"
},
"vertical": {
"data": {
"set_azimuth": "Window Azimuth",
Expand Down
71 changes: 70 additions & 1 deletion custom_components/adaptive_cover/translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,40 @@
"manual_override_reset": "Optie om de duur van handmatige overschrijving na elke handmatige aanpassing te resetten; als dit is uitgeschakeld, geldt de duur alleen voor de eerste handmatige aanpassing"
}
},
"double_roller": {
"data": {
"double_roller": "Pas ook de verticale positie aan",
"set_azimuth": "Raam Azimuth",
"window_height": "Raamhoogte",
"distance_shaded_area": "Beschaduwde gebied",
"default_percentage": "Standaard positie",
"max_position": "Maximale positie",
"fov_left": "Links gezichtsveld",
"fov_right": "Rechts gezichtsveld",
"group": "Cover Entiteiten",
"inverse_state": "Draai de status om (nodig voor sommige covers die omgekeerde percentages hanteren)",
"sunset_position": "Zonsondergang Posistie",
"sunset_offset": "Afwijking Zonsondergang",
"climate_mode": "Klimaatmodus"
},
"data_description": {
"double_roller": "Stel de initiële waarde van de schakelaar in om de verticale positie aan te passen",
"set_azimuth": "Stel Azimuth in",
"window_height": "Specificeer raamhoogte in meters",
"distance_shaded_area": "Afstand van bekleding tot beschaduwd gebied in meters",
"default_percentage": "Standaard bekledingspositie als percentage",
"max_position": "Maximale verstelbare bekledingspositie als percentage",
"fov_left": "Gezichtshoek naar links van het raamcentrum",
"fov_right": "Gezichtshoek naar rechts van het raamcentrum",
"group": "Selecteer entiteiten om te besturen via integratie",
"sunset_position": "Positie om naar over te schakelen na zonsondergang",
"sunset_offset": "Verschil (±) vanaf zonsondergang in minuten",
"sunrise_offset": "Verschil (±) vanaf zonsopkomst in minuten",
"climate_mode": "Configureer variabelen voor klimaatmodus"
},
"description": "Configuratie van duo-rolgordijnen die kantel- en positieaanpassingen ondersteunt",
"title": "Duo Rolgordijn"
},
"vertical": {
"data": {
"set_azimuth": "Raam Azimuth",
Expand Down Expand Up @@ -187,6 +221,40 @@
"manual_override_reset": "Optie om de duur van handmatige overschrijving na elke handmatige aanpassing te resetten; als dit is uitgeschakeld, geldt de duur alleen voor de eerste handmatige aanpassing"
}
},
"double_roller": {
"data": {
"double_roller": "Pas ook de verticale positie aan",
"set_azimuth": "Raam Azimuth",
"window_height": "Raamhoogte",
"distance_shaded_area": "Beschaduwde gebied",
"default_percentage": "Standaard positie",
"max_position": "Maximale positie",
"fov_left": "Links gezichtsveld",
"fov_right": "Rechts gezichtsveld",
"group": "Cover Entiteiten",
"inverse_state": "Draai de status om (nodig voor sommige covers die omgekeerde percentages hanteren)",
"sunset_position": "Zonsondergang Posistie",
"sunset_offset": "Afwijking Zonsondergang",
"climate_mode": "Klimaatmodus"
},
"data_description": {
"double_roller": "Stel de initiële waarde van de schakelaar in om de verticale positie aan te passen",
"set_azimuth": "Stel Azimuth in",
"window_height": "Specificeer raamhoogte in meters",
"distance_shaded_area": "Afstand van bekleding tot beschaduwd gebied in meters",
"default_percentage": "Standaard bekledingspositie als percentage",
"max_position": "Maximale verstelbare bekledingspositie als percentage",
"fov_left": "Gezichtshoek naar links van het raamcentrum",
"fov_right": "Gezichtshoek naar rechts van het raamcentrum",
"group": "Selecteer entiteiten om te besturen via integratie",
"sunset_position": "Positie om naar over te schakelen na zonsondergang",
"sunset_offset": "Verschil (±) vanaf zonsondergang in minuten",
"sunrise_offset": "Verschil (±) vanaf zonsopkomst in minuten",
"climate_mode": "Configureer variabelen voor klimaatmodus"
},
"description": "Configuratie van duo-rolgordijnen die kantel- en positieaanpassingen ondersteunt",
"title": "Duo Rolgordijn"
},
"vertical": {
"data": {
"set_azimuth": "Raam Azimuth",
Expand Down Expand Up @@ -326,7 +394,8 @@
"options": {
"cover_blind": "Verticaal scherm",
"cover_awning": "Horizontaal scherm",
"cover_tilt": "Kantelbaar scherm"
"cover_tilt": "Kantelbaar scherm",
"cover_double_roller": "Dou Rolgordijn"
}
},
"tilt_mode": {
Expand Down

0 comments on commit e2c96f1

Please sign in to comment.