From 9746e82cd9e28128760e29071681fde55b44c28a Mon Sep 17 00:00:00 2001 From: Thomas55555 <59625598+Thomas55555@users.noreply.github.com> Date: Mon, 13 May 2024 20:02:42 +0000 Subject: [PATCH] Add services for Husqvarna Automower --- .../husqvarna_automower.markdown | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/source/_integrations/husqvarna_automower.markdown b/source/_integrations/husqvarna_automower.markdown index 8e51bd69b23a..ab001924dd82 100644 --- a/source/_integrations/husqvarna_automower.markdown +++ b/source/_integrations/husqvarna_automower.markdown @@ -140,3 +140,33 @@ 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 with the name of your mower. +service: husqvarna_automower.park_for +target: + entity_id: lawn_mower. +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 with the name of your mower. +service: husqvarna_automower.start_for +target: + entity_id: lawn_mower. +data: + duration: 60 +``` \ No newline at end of file