homieiot / homie-esp8266

💡 ESP8266 framework for Homie, a lightweight MQTT convention for the IoT
http://homieiot.github.io/homie-esp8266
MIT License
1.36k stars 308 forks source link

Fix value of Homie.isConnected() on first node loop #720

Closed elbowz closed 2 years ago

elbowz commented 3 years ago

When HomieNode::loop() method is called the first time, the Homie.isConnected() returns false.

I hope to have not missed something.

Thanks!