Add lawn_mower support (Worx Landroid) with start_mowing/pause/dock actions

This commit is contained in:
martin 2026-07-27 16:43:17 +00:00
parent 5120617777
commit 9220ff9d3e

View file

@ -8,8 +8,11 @@ blueprint:
Passt für normale Schalter/Lampen genauso wie für ein Garagentor als Passt für normale Schalter/Lampen genauso wie für ein Garagentor als
cover-Entität: "Umschalten" öffnet bzw. schließt das Tor dann automatisch cover-Entität: "Umschalten" öffnet bzw. schließt das Tor dann automatisch
passend zum aktuellen Zustand ganz ohne Sonderlogik. Ungenutzte Tasten passend zum aktuellen Zustand ganz ohne Sonderlogik. Auch Mähroboter
einfach leer lassen, dann passiert bei ihnen nichts. (Domain lawn_mower, z. B. Worx Landroid über die Landroid-Cloud-
Integration) werden unterstützt, dafür gibt es die eigenen Aktionen
"Mähen starten", "Pause" und "Zur Ladestation" statt Ein/Aus/Umschalten.
Ungenutzte Tasten einfach leer lassen, dann passiert bei ihnen nichts.
Für jedes physische Taster-Gerät wird eine eigene Automatisierungs-Instanz Für jedes physische Taster-Gerät wird eine eigene Automatisierungs-Instanz
aus diesem Blueprint angelegt. Der Gerätename lässt sich über aus diesem Blueprint angelegt. Der Gerätename lässt sich über
@ -43,6 +46,7 @@ blueprint:
- lock - lock
- valve - valve
- siren - siren
- lawn_mower
button_1_action: button_1_action:
name: Taste 1 Aktion name: Taste 1 Aktion
@ -50,6 +54,8 @@ blueprint:
Umschalten passt für normale Schalter/Lampen und für ein Garagentor Umschalten passt für normale Schalter/Lampen und für ein Garagentor
(cover-Entität, öffnet/schließt automatisch je nach Zustand). (cover-Entität, öffnet/schließt automatisch je nach Zustand).
Ein-/Ausschalten eignet sich z. B. für Wippen-Tastenpaare. Ein-/Ausschalten eignet sich z. B. für Wippen-Tastenpaare.
Für Mähroboter (lawn_mower) stattdessen "Mähen starten", "Pause"
oder "Zur Ladestation" verwenden.
default: toggle default: toggle
selector: selector:
select: select:
@ -61,6 +67,12 @@ blueprint:
label: Einschalten label: Einschalten
- value: turn_off - value: turn_off
label: Ausschalten label: Ausschalten
- value: start_mowing
label: "Mähroboter: Mähen starten"
- value: pause
label: "Mähroboter: Pause"
- value: dock
label: "Mähroboter: Zur Ladestation"
button_2_entity: button_2_entity:
name: Taste 2 Zielentität name: Taste 2 Zielentität
@ -77,6 +89,7 @@ blueprint:
- lock - lock
- valve - valve
- siren - siren
- lawn_mower
button_2_action: button_2_action:
name: Taste 2 Aktion name: Taste 2 Aktion
@ -84,6 +97,8 @@ blueprint:
Umschalten passt für normale Schalter/Lampen und für ein Garagentor Umschalten passt für normale Schalter/Lampen und für ein Garagentor
(cover-Entität, öffnet/schließt automatisch je nach Zustand). (cover-Entität, öffnet/schließt automatisch je nach Zustand).
Ein-/Ausschalten eignet sich z. B. für Wippen-Tastenpaare. Ein-/Ausschalten eignet sich z. B. für Wippen-Tastenpaare.
Für Mähroboter (lawn_mower) stattdessen "Mähen starten", "Pause"
oder "Zur Ladestation" verwenden.
default: toggle default: toggle
selector: selector:
select: select:
@ -95,6 +110,12 @@ blueprint:
label: Einschalten label: Einschalten
- value: turn_off - value: turn_off
label: Ausschalten label: Ausschalten
- value: start_mowing
label: "Mähroboter: Mähen starten"
- value: pause
label: "Mähroboter: Pause"
- value: dock
label: "Mähroboter: Zur Ladestation"
button_3_entity: button_3_entity:
name: Taste 3 Zielentität name: Taste 3 Zielentität
@ -111,6 +132,7 @@ blueprint:
- lock - lock
- valve - valve
- siren - siren
- lawn_mower
button_3_action: button_3_action:
name: Taste 3 Aktion name: Taste 3 Aktion
@ -118,6 +140,8 @@ blueprint:
Umschalten passt für normale Schalter/Lampen und für ein Garagentor Umschalten passt für normale Schalter/Lampen und für ein Garagentor
(cover-Entität, öffnet/schließt automatisch je nach Zustand). (cover-Entität, öffnet/schließt automatisch je nach Zustand).
Ein-/Ausschalten eignet sich z. B. für Wippen-Tastenpaare. Ein-/Ausschalten eignet sich z. B. für Wippen-Tastenpaare.
Für Mähroboter (lawn_mower) stattdessen "Mähen starten", "Pause"
oder "Zur Ladestation" verwenden.
default: toggle default: toggle
selector: selector:
select: select:
@ -129,6 +153,12 @@ blueprint:
label: Einschalten label: Einschalten
- value: turn_off - value: turn_off
label: Ausschalten label: Ausschalten
- value: start_mowing
label: "Mähroboter: Mähen starten"
- value: pause
label: "Mähroboter: Pause"
- value: dock
label: "Mähroboter: Zur Ladestation"
button_4_entity: button_4_entity:
name: Taste 4 Zielentität name: Taste 4 Zielentität
@ -145,6 +175,7 @@ blueprint:
- lock - lock
- valve - valve
- siren - siren
- lawn_mower
button_4_action: button_4_action:
name: Taste 4 Aktion name: Taste 4 Aktion
@ -152,6 +183,8 @@ blueprint:
Umschalten passt für normale Schalter/Lampen und für ein Garagentor Umschalten passt für normale Schalter/Lampen und für ein Garagentor
(cover-Entität, öffnet/schließt automatisch je nach Zustand). (cover-Entität, öffnet/schließt automatisch je nach Zustand).
Ein-/Ausschalten eignet sich z. B. für Wippen-Tastenpaare. Ein-/Ausschalten eignet sich z. B. für Wippen-Tastenpaare.
Für Mähroboter (lawn_mower) stattdessen "Mähen starten", "Pause"
oder "Zur Ladestation" verwenden.
default: toggle default: toggle
selector: selector:
select: select:
@ -163,6 +196,12 @@ blueprint:
label: Einschalten label: Einschalten
- value: turn_off - value: turn_off
label: Ausschalten label: Ausschalten
- value: start_mowing
label: "Mähroboter: Mähen starten"
- value: pause
label: "Mähroboter: Pause"
- value: dock
label: "Mähroboter: Zur Ladestation"
button_5_entity: button_5_entity:
name: Taste 5 Zielentität name: Taste 5 Zielentität
@ -179,6 +218,7 @@ blueprint:
- lock - lock
- valve - valve
- siren - siren
- lawn_mower
button_5_action: button_5_action:
name: Taste 5 Aktion name: Taste 5 Aktion
@ -186,6 +226,8 @@ blueprint:
Umschalten passt für normale Schalter/Lampen und für ein Garagentor Umschalten passt für normale Schalter/Lampen und für ein Garagentor
(cover-Entität, öffnet/schließt automatisch je nach Zustand). (cover-Entität, öffnet/schließt automatisch je nach Zustand).
Ein-/Ausschalten eignet sich z. B. für Wippen-Tastenpaare. Ein-/Ausschalten eignet sich z. B. für Wippen-Tastenpaare.
Für Mähroboter (lawn_mower) stattdessen "Mähen starten", "Pause"
oder "Zur Ladestation" verwenden.
default: toggle default: toggle
selector: selector:
select: select:
@ -197,6 +239,12 @@ blueprint:
label: Einschalten label: Einschalten
- value: turn_off - value: turn_off
label: Ausschalten label: Ausschalten
- value: start_mowing
label: "Mähroboter: Mähen starten"
- value: pause
label: "Mähroboter: Pause"
- value: dock
label: "Mähroboter: Zur Ladestation"
button_6_entity: button_6_entity:
name: Taste 6 Zielentität name: Taste 6 Zielentität
@ -213,6 +261,7 @@ blueprint:
- lock - lock
- valve - valve
- siren - siren
- lawn_mower
button_6_action: button_6_action:
name: Taste 6 Aktion name: Taste 6 Aktion
@ -220,6 +269,8 @@ blueprint:
Umschalten passt für normale Schalter/Lampen und für ein Garagentor Umschalten passt für normale Schalter/Lampen und für ein Garagentor
(cover-Entität, öffnet/schließt automatisch je nach Zustand). (cover-Entität, öffnet/schließt automatisch je nach Zustand).
Ein-/Ausschalten eignet sich z. B. für Wippen-Tastenpaare. Ein-/Ausschalten eignet sich z. B. für Wippen-Tastenpaare.
Für Mähroboter (lawn_mower) stattdessen "Mähen starten", "Pause"
oder "Zur Ladestation" verwenden.
default: toggle default: toggle
selector: selector:
select: select:
@ -231,6 +282,12 @@ blueprint:
label: Einschalten label: Einschalten
- value: turn_off - value: turn_off
label: Ausschalten label: Ausschalten
- value: start_mowing
label: "Mähroboter: Mähen starten"
- value: pause
label: "Mähroboter: Pause"
- value: dock
label: "Mähroboter: Zur Ladestation"
variables: variables:
channel: "{{ trigger.event.data.channel }}" channel: "{{ trigger.event.data.channel }}"
@ -259,7 +316,8 @@ action:
- condition: template - condition: template
value_template: "{{ channel | int == 1 and button_1_entity not in [none, ''] }}" value_template: "{{ channel | int == 1 and button_1_entity not in [none, ''] }}"
sequence: sequence:
- action: "homeassistant.{{ button_1_action }}" - action: >-
{{ ('lawn_mower.' if button_1_action in ['start_mowing','pause','dock'] else 'homeassistant.') ~ button_1_action }}
target: target:
entity_id: "{{ button_1_entity }}" entity_id: "{{ button_1_entity }}"
@ -267,7 +325,8 @@ action:
- condition: template - condition: template
value_template: "{{ channel | int == 2 and button_2_entity not in [none, ''] }}" value_template: "{{ channel | int == 2 and button_2_entity not in [none, ''] }}"
sequence: sequence:
- action: "homeassistant.{{ button_2_action }}" - action: >-
{{ ('lawn_mower.' if button_2_action in ['start_mowing','pause','dock'] else 'homeassistant.') ~ button_2_action }}
target: target:
entity_id: "{{ button_2_entity }}" entity_id: "{{ button_2_entity }}"
@ -275,7 +334,8 @@ action:
- condition: template - condition: template
value_template: "{{ channel | int == 3 and button_3_entity not in [none, ''] }}" value_template: "{{ channel | int == 3 and button_3_entity not in [none, ''] }}"
sequence: sequence:
- action: "homeassistant.{{ button_3_action }}" - action: >-
{{ ('lawn_mower.' if button_3_action in ['start_mowing','pause','dock'] else 'homeassistant.') ~ button_3_action }}
target: target:
entity_id: "{{ button_3_entity }}" entity_id: "{{ button_3_entity }}"
@ -283,7 +343,8 @@ action:
- condition: template - condition: template
value_template: "{{ channel | int == 4 and button_4_entity not in [none, ''] }}" value_template: "{{ channel | int == 4 and button_4_entity not in [none, ''] }}"
sequence: sequence:
- action: "homeassistant.{{ button_4_action }}" - action: >-
{{ ('lawn_mower.' if button_4_action in ['start_mowing','pause','dock'] else 'homeassistant.') ~ button_4_action }}
target: target:
entity_id: "{{ button_4_entity }}" entity_id: "{{ button_4_entity }}"
@ -291,7 +352,8 @@ action:
- condition: template - condition: template
value_template: "{{ channel | int == 5 and button_5_entity not in [none, ''] }}" value_template: "{{ channel | int == 5 and button_5_entity not in [none, ''] }}"
sequence: sequence:
- action: "homeassistant.{{ button_5_action }}" - action: >-
{{ ('lawn_mower.' if button_5_action in ['start_mowing','pause','dock'] else 'homeassistant.') ~ button_5_action }}
target: target:
entity_id: "{{ button_5_entity }}" entity_id: "{{ button_5_entity }}"
@ -299,7 +361,8 @@ action:
- condition: template - condition: template
value_template: "{{ channel | int == 6 and button_6_entity not in [none, ''] }}" value_template: "{{ channel | int == 6 and button_6_entity not in [none, ''] }}"
sequence: sequence:
- action: "homeassistant.{{ button_6_action }}" - action: >-
{{ ('lawn_mower.' if button_6_action in ['start_mowing','pause','dock'] else 'homeassistant.') ~ button_6_action }}
target: target:
entity_id: "{{ button_6_entity }}" entity_id: "{{ button_6_entity }}"