update configuration revision on start (#12854)
Signed-off-by: Eugen Freiter <freiter@gmx.de>pull/12860/head
parent
668eb4d3a2
commit
97b423b273
|
@ -130,6 +130,7 @@ public class HomekitChangeListener implements ItemRegistryChangeListener {
|
||||||
metadataRegistry.addRegistryChangeListener(metadataChangeListener);
|
metadataRegistry.addRegistryChangeListener(metadataChangeListener);
|
||||||
itemRegistry.getItems().forEach(this::createRootAccessories);
|
itemRegistry.getItems().forEach(this::createRootAccessories);
|
||||||
initialiseRevision();
|
initialiseRevision();
|
||||||
|
makeNewConfigurationRevision();
|
||||||
logger.info("Created {} HomeKit items.", accessoryRegistry.getAllAccessories().size());
|
logger.info("Created {} HomeKit items.", accessoryRegistry.getAllAccessories().size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue