Document color_mode white support for MQTT JSON light (#23792)

This commit is contained in:
Erik Montnemery 2022-08-17 14:08:38 +02:00 committed by GitHub
parent 16d60ee5c3
commit 3f837ec4d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -720,13 +720,18 @@ state_topic:
required: false
type: string
supported_color_modes:
description: A list of color modes supported by the list. This is required if `color_mode` is `True`. Possible color modes are `onoff`, `brightness`, `color_temp`, `hs`, `xy`, `rgb`, `rgbw`, `rgbww`.
description: A list of color modes supported by the list. This is required if `color_mode` is `True`. Possible color modes are `onoff`, `brightness`, `color_temp`, `hs`, `xy`, `rgb`, `rgbw`, `rgbww`, `white`.
required: false
type: list
unique_id:
description: An ID that uniquely identifies this light. If two lights have the same unique ID, Home Assistant will raise an exception.
required: false
type: string
white_scale:
description: "Defines the maximum white level (i.e., 100%) of the MQTT device. This is used when setting the light to white mode."
required: false
type: integer
default: 255
{% endconfiguration %}
<div class='note warning'>