Skip to the content.

Light

If the device definition from Zigbee2MQTT contains one or more exposes entries of type light that at least have a feature named state (i.e. on/off), a Lightbulb service will be created. The table below shows how the different features within this exposes entry are mapped to characteristics.

Name Required access Characteristic Remarks
state published, set On Required
brightness published, set Brightness  
color_temp published, set Color Temperature  
color_hs published, set Hue and Saturation Requires nested features hue and saturation. Preferred over color_xy.
color_xy published, set Hue and Saturation Requires nested features x and y. Values translated by plugin.

Converter specific configuration (light)

{
  "converters": {
    "light": {
      "adaptive_lighting": {
        "only_when_on": true,
        "transition": 0.5
      }
    }
  }
}