its not needed, if you just use volumelimit_on = 0
you can delete the other variabld with audio safe state in the else clause.
it can be solved with ui interactions, but display needs to be on. can you confirm, if you enables bluetooth, the device will show the display?
if you your device...