Skip to content

Commit

Permalink
Add services to Husqvarna Automower
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas55555 authored May 13, 2024
1 parent 488a99b commit d959edf
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions source/_integrations/husqvarna_automower.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,34 @@ The integration will create the following sensors:
### Switch

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.


## Services

The integration offers the following service:

### Park for

With this service you can let your mower park for a given time. This will override all your schedules during this time. The duration has to be given in minutes. The values for the duration have to be between 1 and 60480 minutes.

```yaml
# Replace <name> with the name of your mower.
service: husqvarna_automower.park_for
target:
entity_id: lawn_mower.<name>
data:
duration: 60
```
### Start for
With this service you can let your mower start for a given time. This will override all your schedules during this time. The duration has to be given in minutes. The values for the duration have to be between 1 and 60480 minutes. The mower will only start if the battery is fully charged.
```yaml
# Replace <name> with the name of your mower.
service: husqvarna_automower.start_for
target:
entity_id: lawn_mower.<name>
data:
duration: 60
```

0 comments on commit d959edf

Please sign in to comment.