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

Use recursive config patching #653

Closed mkfrey closed 4 years ago

mkfrey commented 4 years ago
mkfrey commented 4 years ago

This PR is a rebased and updated copy of #628.

The behaviour of the patching has now slightly changed. When an element in the patch JSON has a value of null, the element with the same name in the config will now be removed, instead of being set to null.

mkfrey commented 4 years ago

Had to force push. Somehow the commit still had the old code.