Add services for Husqvarna Automower (#32731)

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
Thomas55555 2024-06-22 18:40:48 +02:00 committed by GitHub
parent 35e1845042
commit 5ee9803ced
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -153,10 +153,31 @@ The integration will create the following sensors:
### Switch
#### Avoid (if available)
The integration will create a switch for each stay-out zone defined for your mower. When the switch is on, the mower avoids the corresponding zone. When the switch is off, the mower enters the corresponding zone.
#### Enable schedule
The integration will create a switch to enable or disable the schedule of the mower. If the switch is on, the mower will mow according to the schedule. If the switch is off the mower will return to the dock and park until further notice.
#### Avoid (if available)
## Services
The integration will create a switch for each stay-out zone defined for your mower. When the switch is on, the mower avoids the corresponding zone. When the switch is off, the mower enters the corresponding zone.
The integration offers the following services:
### Override schedule
With this service, you can let your mower mow or park for a given time. You can select the override mode with the `override_mode´ attribute. 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
override_mode: mow ### alternative: `park`
```