A light switch could potentially act as both a sensor and an actuator, depending on the application for which it is used.
As a sensor, a light switch can detect when there is a change in the light level and then signal to a controller to activate or deactivate other components such as lighting, heating, ventilation, or air conditioning systems. In this case, the light switch is used to sense the environment and provide input to an external system.
As an actuator, a light switch can control the output of a system by turning a light, appliance, or other electrical devices on or off in response to user input. In this case, the light switch acts as a simple switch that responds to a user's input and produces an output on the controlled device.
Overall, whether a light switch is considered a sensor or an actuator depends on the context in which it is used and how it's integrated into a broader system or process.





