ESP-MQTT-JSON-Digital-LEDs icon indicating copy to clipboard operation
ESP-MQTT-JSON-Digital-LEDs copied to clipboard

Home Assistant Integration

Open medelay opened this issue 6 years ago • 1 comments
trafficstars

After struggling for a couple of days putting in more than 7 hours a day.

I have got the script side on the Nodemcu working nicely. I have tried a few different Forks and have used something here and there.

But on the Home assistant side it is still not working. I got my entity showing up and with HACS and a extra plugin i got myself a rgb color picker. But this is sending only commands with the raw data in and not formating it in json data.

And looking at this code now i dont see how this code could posibly do that.

So i need some help how to get home assistant to send commands properly from the lovelace.

medelay avatar Aug 14 '19 22:08 medelay

For anyone having the same issue the problem is the code is old: `light:

  • platform: mqtt_json name: "Porch Strip"`

should be replaced with: `light:

  • platform: mqtt schema: json name: "Porch Strip"`

This should fix it.

medelay avatar Aug 14 '19 23:08 medelay