Skip to content

Commit 89ea015

Browse files
OttoWinterfabaff
authored andcommitted
Improve MQTT Light docs (home-assistant#4681)
* Improve MQTT Light docs * Small adjustment
1 parent a2241a0 commit 89ea015

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/_components/light.mqtt.markdown

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ rgb_command_topic:
120120
required: false
121121
type: string
122122
rgb_state_topic:
123-
description: The MQTT topic subscribed to receive RGB state updates.
123+
description: The MQTT topic subscribed to receive RGB state updates. The expected payload is the RGB values separated by commas, for example `255,0,127`.
124124
required: false
125125
type: string
126126
rgb_value_template:
@@ -233,10 +233,10 @@ To enable a light with brightness (no RGB version) in your installation, add the
233233
light:
234234
- platform: mqtt
235235
name: "Office light"
236-
state_topic: "office/rgb1/light/status"
237-
command_topic: "office/rgb1/light/switch"
238-
brightness_state_topic: 'office/rgb1/light/brightness'
239-
brightness_command_topic: 'office/rgb1/light/brightness/set'
236+
state_topic: "office/light/status"
237+
command_topic: "office/light/switch"
238+
brightness_state_topic: 'office/light/brightness'
239+
brightness_command_topic: 'office/light/brightness/set'
240240
qos: 0
241241
payload_on: "ON"
242242
payload_off: "OFF"
@@ -255,8 +255,8 @@ light:
255255
state_topic: "office/light/status"
256256
command_topic: "office/light/switch"
257257
payload_off: "OFF"
258-
brightness_state_topic: 'office/rgb1/light/brightness'
259-
brightness_command_topic: 'office/rgb1/light/brightness/set'
258+
brightness_state_topic: 'office/light/brightness'
259+
brightness_command_topic: 'office/light/brightness/set'
260260
on_command_type: 'brightness'
261261
```
262262

0 commit comments

Comments
 (0)