Could someone please explain what files I need to put where?
I tried to download the .zip-file and put them in the homeassistant directory but I just got a bunch of error messages saying I need to make sure all dependencies are installed and No module named 'custom_components.automower.vacuum'; 'custom_components.automower' is not a package
It also told me to change the file names of vacuum/automower.py to automower/vacuum.py
and device_tracker/automower.py to automower/device_tracker.py
but after that I got the same message regarding dependencies and also Unable to find platform automower. Search path was limited to path of component: custom_components
What dependencies do I need to install? It’s not that clear in the error message…
To sync it too Google Home as a switch. But when I say “OK Google, stop lawn mower” it only pauses it. What service do I need to call to make it go back home to the charging station?
EDIT: I should have looked around a bit more. I changed it to vacuum.return_to_base instead of vacuum.turn_off
Did not know that. Thank you for that! However I want it in HA so I can link it with my sprinkler system so my sprinklers wont start when the Automower is out.
What errors did you see?
I have just bought a Husqvarna automower, so I have just setup the hass integration. I get an error saying that the vacuum and device_tracker could not be set up.
I have followed these instructions:
You also need to edit device_tracker.py and vacuum.py from: from homeassistant.components.automower import DOMAIN as AUTOMOWER_DOMAIN
to: from custom_components.automower import DOMAIN as AUTOMOWER_DOMAIN
Great, thanks! Would you mind (re)creating it as a Github fork of my repo? Seeing the full history of changes as well as the updates you made will be helpful in the future as we (or others) may work on integrating this into HA core.