Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add services for Husqvarna Automower #32731

Merged
merged 7 commits into from
Jun 22, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions source/_integrations/husqvarna_automower.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,35 @@ 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 services:

### 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
```

Note: 1 day has 1440 minutes, and 60480 minutes are approximately 42 day
c0ffeeca7 marked this conversation as resolved.
Show resolved Hide resolved