I want to make the effect’s name different from the Json command’s it send. For example if the name is Blink it should send a “1” on the command_topic and not Blink.Is this possible and is there a easy what to do that in the configuration.yaml?
I am using hass.io and the Mosquitto broker that sends Json commands.
This is my configuration:
light:
- platform: mqtt
schema: json
name: RGB
state_topic: “HA/Esp/State”
command_topic: “HA/Esp/Set”
brightness: true
rgb: true
effect: true
effect_list: [Blink, Static]
#effect_list: [0, 1, 2, 3, 4 ,5, 6, 7, 8]
#effect_list: [Blink, colorfade_slow, colorfade_fast, flash]
optimistic: false
qos: 0
retain: true