How to trigger switchbot when Volumio turns on and off

I’m trying to have my switchbot switch activate when Volumio shuts down and starts up.

I created an Automation with:

When - Volumio turned on
Then do - Turn on Switchbot

When I shutdown Volumio the switchbot doesn’t activate.
When I run the Automation manually it does activate the switchbot.
I’m running Volumio on a raspberry pi 5.

What am I missing?