Hello, I am trying to configure a MQTT message from my ESP8266 where I am sending a Configuration payload as below
{
"name":"Dimmer Switch",
"cmd_t":"myhome/light/dimmer/switch1/set",
"stat_t":"myhome/light/dimmer/switch1/state",
"unique_id":"dimmer_light",
"schema":"json",
"brightness":true,
"qos":0
}
After putting this payload. I am getting the entity created in my dashboard. But when I toggle the switch it return back to its state. Not sure if I need to do something else.
Someone have any experience with this?
Thank you!