* [miio] delay refresh to avoid devices not ready yet
Delay refresh after command is send as some devices are not ready yet
with the execution and will report wrong status.
This is confusing to the users.
Related forum topic:
https://community.openhab.org/t/xiaomi-mi-air-purifier-xiaomi-mi-io/34840/300
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] remove change from PR
}
}
updateDataCache.invalidateValue();
- updateData();
+ scheduler.schedule(() -> {
+ updateData();
+ }, 3000, TimeUnit.MILLISECONDS);
} else {
logger.debug("Actions not loaded yet");
}