Troubles with command_ringer_mode with OnePlus phone

I am trying to command my cell phone from home assistant. Most of the things work. I have troubles with command_ringer_mode. Example

action: notify.mobile_app_oneplusnord2
data:
  message: "command_ringer_mode"
  data:
    command: "normal"

You have to know that my cell phone (OnePlus Nord2) has a selector on the side with three states, used to change the ring mode to: normal / vibrate / silent.

Now the selector is on “vibrate”. If I execute the action, nothing happens.
Now I put the selection on “normal”, I change the script to have command: “vibrate” and it works! Now if I use command: “normal” it works again!

But if the selector on the phone is on “vibrate” nothing happens.

this hardware switch that ONePlus created simply does not play well with the sensor or command. Its a hardware switch attempting to control software, it will always fall out of sync as a result.

there is nothing the app can do here to help

ok, but it is strange in works in one way but not in the other

it is indeed strange however how can a hardware switch every correspond to changes to an API? If you set ringer mode to normal in the software and then have the hardware switch staying on vibrate how can it ever be expected to work properly?