Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

ESP8266 Hassio Light MQTT Auto Discovery not working

$
0
0

@nehulagr wrote:

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!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles