eclipse-archived / smarthome

Eclipse SmartHome™ project
https://www.eclipse.org/smarthome/
Eclipse Public License 2.0
862 stars 787 forks source link

[homematic] Improve thing status handling #6815

Closed FStolte closed 5 years ago

FStolte commented 5 years ago

In the past, I experienced inconsistencies between the homematic bridge and child thing status if one of them went OFFLINE. I observed child things that were ONLINE although the bridge was, e.g., in OFFLINE/DUTY_CYCLE, and I observed child things that were OFFLINE due to a communication error with the gateway, although I could see that there was already successful communication to the device afterwards.

In order to resolve these inconsistencies, this PR changes the handling of the thing status in the HomematicThingHandler in two ways: