mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Update the second configuration example (#839)
For the second example, the brightness functionality was mentioned, but it doesn't include the "brightness_state_topic" and the "brightness_command_topic" instructions.
This commit is contained in:
parent
412fee43ad
commit
6071e11663
@ -51,6 +51,8 @@ light:
|
|||||||
name: "Office light"
|
name: "Office light"
|
||||||
state_topic: "office/rgb1/light/status"
|
state_topic: "office/rgb1/light/status"
|
||||||
command_topic: "office/rgb1/light/switch"
|
command_topic: "office/rgb1/light/switch"
|
||||||
|
brightness_state_topic: 'office/rgb1/light/brightness'
|
||||||
|
brightness_command_topic: 'office/rgb1/light/brightness/set'
|
||||||
qos: 0
|
qos: 0
|
||||||
payload_on: "ON"
|
payload_on: "ON"
|
||||||
payload_off: "OFF"
|
payload_off: "OFF"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user