lightSensor top-level constant

NotificationType const lightSensor

Implementation

const lightSensor = NotificationType(
  /* 0x14 */ NOTIFICATION_TYPE_LIGHT_SENSOR, 'Light sensor', //
  [
    NotificationValue(0, 'State idle' //
        // Notification value for the state variable going to idle. (V5)
        ),
    NotificationValue(1, 'Light detected'),
    NotificationValue(2, 'Light color transition detected'),
  ],
);