Trigger -> ON
Trigger -> OFF
Trigger -> Unchange
Trigger -> Switch (if state ON, then do OFF) (if state OFF, then do ON)
There is no solution for room like toilet because:
Going inside , trigger open door, the light is ON.
When you leaving, trigger open door, the light is OFF.
Why you call Smart Switch smart when this switch does not support real switch?!
I'm all up for that. I have exactly the same issue with bathroom :)