OMA LwM2M Light Control (Object ID 3311)
type: ThingModel
properties:
  required: On_Off
  on off: On_Off
    description: On/off control. Boolean value where True is On and False is Off.
    type: boolean
  dimmer: Dimmer
    description: This resource represents a dimmer setting, which has an Integer value between 0 and 100 as a percentage.
    type: integer
    unit: /100
    minimum: 0
    maximum: 100
  on time: On_time
    description: The time in seconds that the device has been on. Writing a value of 0 resets the counter.
    type: integer
    unit: s
  cumulative active power: Cumulative_active_power
    description: The cumulative active power since the last cumulative energy reset or device start.
    writable: false
    type: number
    unit: Wh
  power factor: Power_factor
    description: If applicable, the power factor of the current consumption.
    writable: false
    type: number
  colour: Colour
    description: A string representing a value in some color space.
    type: string
  sensor units: Sensor_Units
    description: Measurement Units Definition.
    writable: false
    type: string
  application type: Application_Type
    description: The application type of the sensor or actuator as a string depending on the use case.
    type: string