Corrected state topics for light component

so3n 2019-02-03 21:09:19 +11:00
parent d8429b3861
commit fd853ce00d
1 changed files with 9 additions and 9 deletions

@ -344,11 +344,11 @@ light:
- platform: mqtt
name: "Light 1"
command_topic: "cmnd/light1/POWER"
state_topic: "tele/light1/RESULT"
state_topic: "tele/light1/STATE"
state_value_template: "{{value_json.POWER}}"
availability_topic: "tele/light1/LWT"
brightness_command_topic: "cmnd/light1/Dimmer"
brightness_state_topic: "tele/light1/RESULT"
brightness_state_topic: "tele/light1/STATE"
brightness_scale: 100
on_command_type: "brightness"
brightness_value_template: "{{value_json.Dimmer}}"
@ -372,19 +372,19 @@ light:
- platform: mqtt
name: "Light 1"
command_topic: "cmnd/light1/POWER"
state_topic: "tele/light1/RESULT"
state_topic: "tele/light1/STATE"
state_value_template: "{{value_json.POWER}}"
availability_topic: "tele/light1/LWT"
brightness_command_topic: "cmnd/light1/Dimmer"
brightness_state_topic: "tele/light1/RESULT"
brightness_state_topic: "tele/light1/STATE"
brightness_scale: 100
on_command_type: "brightness"
brightness_value_template: "{{value_json.Dimmer}}"
rgb_command_topic: "cmnd/light1/Color2"
rgb_state_topic: "tele/light1/RESULT"
rgb_state_topic: "tele/light1/STATE"
rgb_value_template: "{{value_json.Color.split(',')[0:3]|join(',')}}"
effect_command_topic: "cmnd/light1/Scheme"
effect_state_topic: "tele/light1/RESULT"
effect_state_topic: "tele/light1/STATE"
effect_value_template: "{{value_json.Scheme}}"
effect_list:
- 0
@ -411,11 +411,11 @@ light:
- platform: mqtt
name: "Light 1"
command_topic: "cmnd/light1/POWER"
state_topic: "stat/light1/RESULT"
state_topic: "stat/light1/STATE"
state_value_template: "{{value_json.POWER}}"
availability_topic: "tele/light1/LWT"
brightness_command_topic: "cmnd/light1/Dimmer"
brightness_state_topic: "stat/light1/RESULT"
brightness_state_topic: "stat/light1/STATE"
brightness_scale: 100
on_command_type: "brightness"
brightness_value_template: "{{value_json.Dimmer}}"
@ -423,7 +423,7 @@ light:
rgb_state_topic: "tele/light1/STATE"
rgb_value_template: "{{value_json.Color.split(',')[0:3]|join(',')}}"
effect_command_topic: "cmnd/light1/Scheme"
effect_state_topic: "stat/light1/RESULT"
effect_state_topic: "stat/light1/STATE"
effect_value_template: "{{value_json.Scheme}}"
effect_list:
- 0