I got answer from support that this was a known issue for “a small number of users” when upgrading to v5.
Well, I’ve been upgrading from5.0 , 5.01, 5.02, 5.04 and the problem appeared first with 5.04. So… lets hope this won’t happen again or wifey will throw out all my buttons, sensors and lights hahah
(seriously, when you’ve built your home around Homey it affects you severly when it doesn’t work!)