How to run commands in Easer?

strawberry@kbin.run to Free and Open Source Software@beehaw.org – 11 points –

I've figured out how to enable and disable AOD through ADB (adb shell settings put secure doze_always_on 0). I can toggle this using a quick settings tile through Always On Display Toggle. However, I'd like to set Easer to run that command whenever my phone is charging past a certain time. I know I can run the command locally through Shinzuku and aShell You, and I know my event trigger is working, as I have it sending me notifications, but I just can't get Easer to run that command.

Reason I'm doing this is because GrapheneOS doesnt have a bedtime mode, and I'd like for AOD to turn itself off at night.

Please lmk if there are better magazines to post this is

Thanks

1