sander1988 / Indego

Home Assistant Custom Component for Bosch Indego Lawn Mower
Apache License 2.0
95 stars 29 forks source link

question - how generate a command for mow an dock or pause #156

Closed Donni1966 closed 2 years ago

Donni1966 commented 2 years ago

Sorry about this maybe stupid question. But i look for an example how create a command i can use later in the dashboard like a switch.

i do not see the service in the list when i try to put it on a card

i am not very good in using home assistant.

Somebody have a short "how to" for me? byby, Michael

JensMKofoed commented 2 years ago

Hi

If you go to Configuration - Automations & Scenes - Scripts you can create a script the following: Action type: Call service Service: Bosch Indego Mower: command Service data: command: mow

the commands are either mow, pause or returnToDock

you can call these commands from automations and buttons on the dashboard. You can also do the Call service directly from a button or a automation so you don't have to create a script. unfortunately you can not call a script nor automation from a scene. So I've not found a way to send the commands via a scene yet

Kind regards Jens

Donni1966 commented 2 years ago

Thanx a lot … now I unterstand this also :-)

Am 28.04.2022 um 08:14 schrieb JensMKofoed @.***>:

Hi

If you go to Configuration - Automations & Scenes - Scripts you can create a script the following: Action type: Call service Service: Bosch Indego Mower: command Service data: command: mow

the commands are either mow, pause or returnToDock

you can call these commands from automations and buttons on the dashboard. You can also do the Call service directly from a button or a automation so you don't have to create a script. unfortunately you can not call a script nor automation from a scene. So I've not found a way to send the commands via a scene yet

Kind regards Jens

— Reply to this email directly, view it on GitHub https://github.com/jm-73/Indego/issues/156#issuecomment-1111787860, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOWN6HIY5WYU6S6KFWXLAGTVHIUDNANCNFSM5UMQTPQQ. You are receiving this because you authored the thread.

jm-73 commented 2 years ago

Solved!