Add work area override service to Husqvarna Automower (#33434)

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
Thomas55555 2024-07-31 19:29:01 +02:00 committed by GitHub
parent fa8394622d
commit 7fe822d8a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 19 additions and 0 deletions

View File

@ -185,3 +185,22 @@ data:
minutes: 30
override_mode: mow ### alternative: `park`
```
### Override schedule work area (if available)
With this action, you can let your mower mow for a given time in a certain work area. You can enter the work area with the `work_area_id` attribute. You can get the `work_area_id` from the `Work area` sensor.
![Work area sensor](/images/integrations/husqvarna_automower/work_area_sensor.png)
This will override all your schedules during this time. The duration can be given in days, hours, and/or minutes. The values for the duration have to be between 1 minute and 42 days. Seconds will be ignored.
```yaml
# Replace <name> with the name of your mower.
service: husqvarna_automower.override_schedule
target:
entity_id: lawn_mower.<name>
data:
duration:
days: 1
hours: 12
minutes: 30
work_area_id: 123456 ### Work area ID for the "Front lawn" from the example above.
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB