Condition for motion sensor on/off state (enabled/disabledI)

Hi,
I would like to request a feature to have condition for a motion sensor state.
Currently, it is possible to build a condition based on lux or temperature, but not for enabled/disabled state of motion sensor.
For example, I have a wall switch module which unfortunately doesn’t differentiate open and closed state on a rocker switch. What I would like to achieve is, when I switch the rocker, it would check the state of motion sensor and based on it, it would set bright light and disable the motion sensor, or it would turn lights off and enable motion sensor.
Basically, I would be able to override sensor mode when I need a brighter light for a longer time or just go back to sensor mode with short and dimmed motion triggered lights.
Or is there maybe any other way to achieve this?