diff --git a/bundles/org.openhab.core.io.rest.sitemap/src/main/java/org/openhab/core/io/rest/sitemap/internal/SitemapResource.java b/bundles/org.openhab.core.io.rest.sitemap/src/main/java/org/openhab/core/io/rest/sitemap/internal/SitemapResource.java index 267416435c6..17839c57f88 100644 --- a/bundles/org.openhab.core.io.rest.sitemap/src/main/java/org/openhab/core/io/rest/sitemap/internal/SitemapResource.java +++ b/bundles/org.openhab.core.io.rest.sitemap/src/main/java/org/openhab/core/io/rest/sitemap/internal/SitemapResource.java @@ -74,6 +74,7 @@ import org.openhab.core.items.GenericItem; import org.openhab.core.items.Item; import org.openhab.core.items.ItemNotFoundException; +import org.openhab.core.items.events.GroupItemStateChangedEvent; import org.openhab.core.items.events.ItemEvent; import org.openhab.core.items.events.ItemStateChangedEvent; import org.openhab.core.library.CoreItemFactory; @@ -918,7 +919,7 @@ private void getItemsInConditions(@Nullable EList conditions, Set getSubscribedEventTypes() { - return Set.of(ItemStateChangedEvent.TYPE); + return Set.of(ItemStateChangedEvent.TYPE, GroupItemStateChangedEvent.TYPE); } @Override