Issue with initialising of things using MQTT and EVCC after reboot of RP (openhabian)

Hi, thanks for the answer. I will rerun some of my tests just restarting openhab, in case. I see that in another discussion on EVCC they discuss this here: EVCC discussion

thanks as well for the coding tips. I am using the meta data in a slightly more complex set of rules, my code extract was just a part of it. I look into your suggestions if I could simplify my code. Best.