Sensor and LED directives