Added a lock to protect access to the XML data. Without it, HA crashed and auto-restarted!
Added a lock to protect access to the XML data. Without it, HA crashed and auto-restarted!

glpatcern/domotica,glpatcern/domotica,glpatcern/domotica