mirror of https://github.com/arendst/Tasmota.git
Corrected state topics for light component
parent
d8429b3861
commit
fd853ce00d
|
@ -344,11 +344,11 @@ light:
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
name: "Light 1"
|
name: "Light 1"
|
||||||
command_topic: "cmnd/light1/POWER"
|
command_topic: "cmnd/light1/POWER"
|
||||||
state_topic: "tele/light1/RESULT"
|
state_topic: "tele/light1/STATE"
|
||||||
state_value_template: "{{value_json.POWER}}"
|
state_value_template: "{{value_json.POWER}}"
|
||||||
availability_topic: "tele/light1/LWT"
|
availability_topic: "tele/light1/LWT"
|
||||||
brightness_command_topic: "cmnd/light1/Dimmer"
|
brightness_command_topic: "cmnd/light1/Dimmer"
|
||||||
brightness_state_topic: "tele/light1/RESULT"
|
brightness_state_topic: "tele/light1/STATE"
|
||||||
brightness_scale: 100
|
brightness_scale: 100
|
||||||
on_command_type: "brightness"
|
on_command_type: "brightness"
|
||||||
brightness_value_template: "{{value_json.Dimmer}}"
|
brightness_value_template: "{{value_json.Dimmer}}"
|
||||||
|
@ -372,19 +372,19 @@ light:
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
name: "Light 1"
|
name: "Light 1"
|
||||||
command_topic: "cmnd/light1/POWER"
|
command_topic: "cmnd/light1/POWER"
|
||||||
state_topic: "tele/light1/RESULT"
|
state_topic: "tele/light1/STATE"
|
||||||
state_value_template: "{{value_json.POWER}}"
|
state_value_template: "{{value_json.POWER}}"
|
||||||
availability_topic: "tele/light1/LWT"
|
availability_topic: "tele/light1/LWT"
|
||||||
brightness_command_topic: "cmnd/light1/Dimmer"
|
brightness_command_topic: "cmnd/light1/Dimmer"
|
||||||
brightness_state_topic: "tele/light1/RESULT"
|
brightness_state_topic: "tele/light1/STATE"
|
||||||
brightness_scale: 100
|
brightness_scale: 100
|
||||||
on_command_type: "brightness"
|
on_command_type: "brightness"
|
||||||
brightness_value_template: "{{value_json.Dimmer}}"
|
brightness_value_template: "{{value_json.Dimmer}}"
|
||||||
rgb_command_topic: "cmnd/light1/Color2"
|
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(',')}}"
|
rgb_value_template: "{{value_json.Color.split(',')[0:3]|join(',')}}"
|
||||||
effect_command_topic: "cmnd/light1/Scheme"
|
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_value_template: "{{value_json.Scheme}}"
|
||||||
effect_list:
|
effect_list:
|
||||||
- 0
|
- 0
|
||||||
|
@ -411,11 +411,11 @@ light:
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
name: "Light 1"
|
name: "Light 1"
|
||||||
command_topic: "cmnd/light1/POWER"
|
command_topic: "cmnd/light1/POWER"
|
||||||
state_topic: "stat/light1/RESULT"
|
state_topic: "stat/light1/STATE"
|
||||||
state_value_template: "{{value_json.POWER}}"
|
state_value_template: "{{value_json.POWER}}"
|
||||||
availability_topic: "tele/light1/LWT"
|
availability_topic: "tele/light1/LWT"
|
||||||
brightness_command_topic: "cmnd/light1/Dimmer"
|
brightness_command_topic: "cmnd/light1/Dimmer"
|
||||||
brightness_state_topic: "stat/light1/RESULT"
|
brightness_state_topic: "stat/light1/STATE"
|
||||||
brightness_scale: 100
|
brightness_scale: 100
|
||||||
on_command_type: "brightness"
|
on_command_type: "brightness"
|
||||||
brightness_value_template: "{{value_json.Dimmer}}"
|
brightness_value_template: "{{value_json.Dimmer}}"
|
||||||
|
@ -423,7 +423,7 @@ light:
|
||||||
rgb_state_topic: "tele/light1/STATE"
|
rgb_state_topic: "tele/light1/STATE"
|
||||||
rgb_value_template: "{{value_json.Color.split(',')[0:3]|join(',')}}"
|
rgb_value_template: "{{value_json.Color.split(',')[0:3]|join(',')}}"
|
||||||
effect_command_topic: "cmnd/light1/Scheme"
|
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_value_template: "{{value_json.Scheme}}"
|
||||||
effect_list:
|
effect_list:
|
||||||
- 0
|
- 0
|
||||||
|
|
Loading…
Reference in New Issue