Closed mdillmann closed 2 years ago
@clinique : I suspect the call-chain starting here
energy = commonHandler.getHomeCapability(EnergyCapability.class);
in the setThingHandler to cause the race.
Code changed much with the introduction of "CommonInterface" and the capabilities and I can't figure out the flow.
@clinique : I suspect the call-chain starting here
energy = commonHandler.getHomeCapability(EnergyCapability.class);
in the setThingHandler to cause the race.Code changed much with the introduction of "CommonInterface" and the capabilities and I can't figure out the flow.
You're correct, I land in the same place. Let's have a look at this.
This issue has been mentioned on openHAB Community. There might be relevant details there:
Expected Behavior
Room thing still online after restart of OH
Current Behavior
If a room-action is defined, the room-thing is initially online. But after a restart of OH it stays offline.
Possible Solution
Race condition initializing actionhandler before room-thing is initialized.
Steps to Reproduce (for Bugs)
Log-Entries:
If the roomaction is removed, cache-cleaned and OH restarted the problem is gone
Your Environment
Observed in OH 3.3 release OH 3.4 M2