]> git.basschouten.com Git - openhab-addons.git/commit
Update HomematicDeviceDiscoveryService.java (#11971)
authorraykleibelt <54982000+raykleibelt@users.noreply.github.com>
Fri, 7 Jan 2022 20:43:24 +0000 (21:43 +0100)
committerGitHub <noreply@github.com>
Fri, 7 Jan 2022 20:43:24 +0000 (21:43 +0100)
commit65002647df35e0dfa92ec987da3cfe1fadf658ea
tree83abe5069fcc585e445f679edf7e8dc987b88901
parent78fd621ad98e767bf44b7a513fda87cef69db082
Update HomematicDeviceDiscoveryService.java (#11971)

fix for bug #11969

After a restart of openHAB the function 'getScanTimeout()' is called before the member 'installModeDuration' has been initialized with the correct value from the configuration. With a large number of Homematic devices, the default value of 'installModeDuration' is too small to read in all Homematic devices from the CCU.
Therefore, when calling the function 'getScanTimeout()', the value is read directly from the configuration. The member 'installModeDuration' has been removed.

Signed-off-by: raykleibelt <54982000+raykleibelt@users.noreply.github.com>
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/discovery/HomematicDeviceDiscoveryService.java