Skip to content

Commit

Permalink
Ensure sitemap subscriptions are updated on Group Items (#4552)
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
  • Loading branch information
digitaldan authored Jan 11, 2025
1 parent 6dffaa6 commit f8d34d9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -918,7 +919,7 @@ private void getItemsInConditions(@Nullable EList<Condition> conditions, Set<Gen

@Override
public Set<String> getSubscribedEventTypes() {
return Set.of(ItemStateChangedEvent.TYPE);
return Set.of(ItemStateChangedEvent.TYPE, GroupItemStateChangedEvent.TYPE);
}

@Override
Expand Down

0 comments on commit f8d34d9

Please sign in to comment.