Hi All,
I am writing an appdaemon app (python code) that is used to configure home assistant. I would like to add features to:
- Check config file
- Restart home assistant
how do I go about this using python 3 code?
I have been trying with self.call_service('homeassistant.restart')
obviously this is not right.
Any advise please?
Thanks!