Hello,
Is there a way to run a HA CLI command in a script or automation ?
I would like to schedule a supervisor repair command.
Hello,
Is there a way to run a HA CLI command in a script or automation ?
I would like to schedule a supervisor repair command.
I already use it with linux command for creating folders, and it’s ok.
But with CLI command it doesn’t work.
So I don’t know, but I look at this search and see stuff you could sift thru.
Put this string in a search engine:
site:home-assistant.io HA CLI command in a script or automation
I did a check and it appears that the ha cli is not available in the HA Core container (HAOS install method). This doesn’t mean that there is not another way to achieve what you’re after, but it can’t be done directly using the shell command.