An electronic device (1,61) for obtaining a sensor signal for use in a lighting system comprising one or more light devices and a sensor, and for changing a sensing function in dependence on a light setting currently active on said one or more light devices, said electronic device (1,61) comprising: a memory (7,67); at least one input interface (3,63); at least one output interface (4,64); and at least one processor (5,65) arranged to: - use said at least one input interface (3,63) to obtain a sensor signal from said sensor, said sensor being arranged to sense in a field of view, characterized in that said at least one processor (5,65) is further arranged to: - use said at least one input interface (3,63) to obtain information indicating said light setting that is currently active on said one or more light devices and/or determine from said sensor signal said light setting that is currently active on said one or more light devices, - select, based on data stored in said memory (7,67), a device and/or an application of a plurality of devices (21,31,45,46) and/or applications said sensor signal should be transmitted to by determining from said data which device and/or application of said plurality of devices and/or applications is associated with said light setting, and - use said at least one output interface (4,64) to transmit said sensor signal to said selected device and/or application. a memory (7,67); at least one input interface (3,63); at least one output interface (4,64); and at least one processor (5,65) arranged to: - use said at least one input interface (3,63) to obtain a sensor signal from said sensor, said sensor being arranged to sense in a field of view, - use said at least one input interface (3,63) to obtain a sensor signal from said sensor, said sensor being arranged to sense in a field of view, characterized in that said at least one processor (5,65) is further arranged to: - use said at least one input interface (3,63) to obtain information indicating said light setting that is currently active on said one or more light devices and/or determine from said sensor signal said light setting that is currently active on said one or more light devices, - select, based on data stored in said memory (7,67), a device and/or an application of a plurality of devices (21,31,45,46) and/or applications said sensor signal should be transmitted to by determining from said data which device and/or application of said plurality of devices and/or applications is associated with said light setting, and - use said at least one output interface (4,64) to transmit said sensor signal to said selected device and/or application. - use said at least one input interface (3,63) to obtain information indicating said light setting that is currently active on said one or more light devices and/or determine from said sensor signal said light setting that is currently active on said one or more light devices, - select, based on data stored in said memory (7,67), a device and/or an application of a plurality of devices (21,31,45,46) and/or applications said sensor signal should be transmitted to by determining from said data which device and/or application of said plurality of devices and/or applications is associated with said light setting, and - use said at least one output interface (4,64) to transmit said sensor signal to said selected device and/or application.