Still, if you add the password AFTER adopting the device HA goes crazy and its not possible to interact with the shelly device within HA anymore.
My solution has been:
1 .File editor on the following files, and delete the entries regarding the entity:
/config/.storage/core.config_entries
/config/.storage/core.config
/config/.storage/core.device_registry
full restart (not the small config reload).
Then I’ve been able to readopt the device again, after the system has discovered.
I’ve checked the following topics, none of them contained the aforesaid solution.