shaonianzhentan / node-red-contrib-ha-mqtt

在HomeAssistant中生成MQTT实体
https://github.com/shaonianzhentan/node-red-contrib-ha-mqtt
MIT License
37 stars 19 forks source link

Cannot get Light entity or device to register in HA #27

Open rlust opened 1 year ago

rlust commented 1 year ago

When I create a light device, I can see the config added to the MQTT server but it is never imported to HA, The Switch device works. Any ideas on how to fix this?

shaonianzhentan commented 1 year ago

A simple example (You may need to change the MQTT default configuration) https://github.com/shaonianzhentan/node-red-contrib-ha-mqtt/blob/main/examples/light/example-1.json

image

image

rlust commented 1 year ago

Thanks for this example! The example works, not sure why the example works and my configuration did not. shaonianzhentan great work on this add on for Home Assistant!!! Keep up the great work here!