Congratulations @alvarolb and @jaimebs for this implementation. Very interesting resources.
I will only analyze whether they are reliable for turning on and off resources such as relays (via the device API), whose feedback on the status (on or off) made available on the dashboard in a reliable way is very important.