mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 22:06:50 +00:00
Allow color_mode to be processed in Kelvin for MQTT json light (#36538)
* Allow color_mode to be processed in Kelvin for MQTT json light * Update source/_integrations/light.mqtt.markdown * tiny tweak --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
e58ff18d7b
commit
742e960d64
@ -597,6 +597,11 @@ brightness_scale:
|
|||||||
required: false
|
required: false
|
||||||
type: integer
|
type: integer
|
||||||
default: 255
|
default: 255
|
||||||
|
color_temp_kelvin:
|
||||||
|
description: "When set to `true`, `command_topic` will publish color mode updates in Kelvin, and process `state_topic` will process state updates in Kelvin. By default, the `color_temp` values are converted to and from mireds."
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
command_topic:
|
command_topic:
|
||||||
description: The MQTT topic to publish commands to change the light’s state.
|
description: The MQTT topic to publish commands to change the light’s state.
|
||||||
required: true
|
required: true
|
||||||
@ -683,10 +688,20 @@ json_attributes_topic:
|
|||||||
description: The MQTT topic subscribed to receive a JSON dictionary payload and then set as sensor attributes. Usage example can be found in [MQTT sensor](/integrations/sensor.mqtt/#json-attributes-topic-configuration) documentation.
|
description: The MQTT topic subscribed to receive a JSON dictionary payload and then set as sensor attributes. Usage example can be found in [MQTT sensor](/integrations/sensor.mqtt/#json-attributes-topic-configuration) documentation.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
max_kelvin:
|
||||||
|
description: The maximum color temperature in Kelvin.
|
||||||
|
required: false
|
||||||
|
type: integer
|
||||||
|
default: 6535
|
||||||
max_mireds:
|
max_mireds:
|
||||||
description: The maximum color temperature in mireds.
|
description: The maximum color temperature in mireds.
|
||||||
required: false
|
required: false
|
||||||
type: integer
|
type: integer
|
||||||
|
min_kelvin:
|
||||||
|
description: The minimum color temperature in Kelvin.
|
||||||
|
required: false
|
||||||
|
type: integer
|
||||||
|
default: 2000
|
||||||
min_mireds:
|
min_mireds:
|
||||||
description: The minimum color temperature in mireds.
|
description: The minimum color temperature in mireds.
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user