Open AAli77 opened 7 years ago
I think you would need something like this:
- platform: mqtt_json
name: "FrontYard"
state_topic: "FY/porch"
command_topic: "FY/porch/set"
effect: true
brightness: true
flash: true
rgb: true
optimistic: false
qos: 0
- platform: mqtt_json
name: "BackYard"
state_topic: "BY/porch"
command_topic: "BY/porch/set"
effect: true
brightness: true
flash: true
rgb: true
optimistic: false
qos: 0
Hello BRUH:
I got this project working, but I had only one concern that would be very easy but I am unable to fix it. I am trying to add 2 RGB lights but somehow on my home assistant it is only showing the last Example light:
platform: mqtt_json name: "FrontYard" state_topic: "FY/porch" command_topic: "FY/porch/set" effect: true brightness: true flash: true rgb: true optimistic: false qos: 0
name: "BackYard" state_topic: "BY/porch" command_topic: "BY/porch/set" effect: true brightness: true flash: true rgb: true optimistic: false qos: 0
Can you/anyone please assistant me what I am doing wrong.
I had compile the code no error, home assistant load perfectly but LED Switch is showing only for BackYard.
thanks
AA