💡
Sensor: 70% | Lamp: OFF

Try This:

1. Move the slider to simulate daylight changing

2. Watch when the lamp turns on/off

3. Open the code and find THRESHOLD

4. Change it from 40 to 70 — what happens?

5. Try TRANSITION_SPEED — slower or faster?