Unable to shutdown
I'm unsure if this is an issue with HASS.Agent or just home assistant but here goes.
I have a button I had made "Shutdown PC" which calls the following in scripts.yaml. This previously worked but must have stopped working recently. I presume an update with either Home Assistant or HASS.Agent broke it, but I don't recall seeing anything in breaking changes relating to this.
5 Replies
Help us Help Others!
To help others find answers, you can mark your question as solved via
Right click solution message -> Apps -> ✅ Mark Solution

Help us Help You!
Please don't delete messages or posts because it makes it impossible to understand what happened. If you don't want your messages to be seen then don't post here.
Please provide us with your integration version number.
You can find it in HACS -> HASS.Agent 2 -> Top left
for installed version number.
We will help as soon as possible.
While you're waiting you can try the following:
- Checkout the documentation. - Search here in discord for previously solved similar issues.
@DrR0x
I'll need more info I think, if I remember correctly shell_command is a command executed on the HA host (be it dedicated device/VM/docker container), where is HASS.Agent playing role here?
I think it's due to changes in HA, not HASS.Agent. It wasn't worth troubleshooting so i ended up deleting that config and instead sending basic CMD commands (eg shutdown /s /t 20, shutdown /r /t 20) via HASS.Agent.