When reversing the function is not possible with your sensor type, you can use a virtual sensor and send reversed commands to it:
When reversing the function is not possible with your sensor type, you can use a virtual sensor and send reversed commands to it: