Ensure sitemap subscriptions are updated on Group Items (#4552)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>pull/4556/head
parent
6dffaa6a8c
commit
f8d34d9882
|
@ -74,6 +74,7 @@ import org.openhab.core.io.rest.sitemap.SitemapSubscriptionService.SitemapSubscr
|
|||
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 @@ public class SitemapResource
|
|||
|
||||
@Override
|
||||
public Set<String> getSubscribedEventTypes() {
|
||||
return Set.of(ItemStateChangedEvent.TYPE);
|
||||
return Set.of(ItemStateChangedEvent.TYPE, GroupItemStateChangedEvent.TYPE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue