Use sensor to switch off lights

I just recently invested in a bunch of Hue lights and sensors and am really satified about the way they work.

But there are some things I can’t seem to work out the solution for.

For example when going upstairs;
I would like to use a sensor to switch off lights and next to that switch on another.

Has anyone already found out how to do that?

If by sensor you mean a Hue Motion Sensor, yes that is possible. Go the the motion sensor in Hue Essentials and you can configure it to do what you want.

See also: Smart controls configuration (devices like switches or sensors)