update configuration revision on start (#12854)

Signed-off-by: Eugen Freiter <freiter@gmx.de>
pull/12860/head
eugen 2022-06-01 22:44:05 +02:00 committed by GitHub
parent 668eb4d3a2
commit 97b423b273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ public class HomekitChangeListener implements ItemRegistryChangeListener {
metadataRegistry.addRegistryChangeListener(metadataChangeListener);
itemRegistry.getItems().forEach(this::createRootAccessories);
initialiseRevision();
makeNewConfigurationRevision();
logger.info("Created {} HomeKit items.", accessoryRegistry.getAllAccessories().size());
}