Hi, first off all great work and thank you.
I am using the Unraid API to turn my server on and off with Home Assistant. However, I am having a problem where the server state changes back to "on" a few seconds after I send the "server power_off" command.
I have been able to reproduce the issue consistently.
It only happens if on off the disks is in sleep mode before I send the power_off command.
When Unraid starts to shut down, it wakes the disks up, and then the server state changes back to "on".
Steps to reproduce:
Put all of the disks in sleep mode.
Send the "server power_off" command using the Unraid API.
Wait a few seconds.
Check the server state.
Expected behavior:
The server state should remain "off".
Actual behavior:
The server state changes back to "on".
Thank you