Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
fix(items): ensure items coming from group members are wrapped in Ite…
Browse files Browse the repository at this point in the history
…mProxy
  • Loading branch information
ccutrer committed Sep 6, 2022
1 parent 6cff615 commit 19bd416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/openhab/dsl/items/group_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def initialize(group_item)
#
# @return [Array]
def to_a
group.get_members.to_a
group.get_members.map { |i| ::OpenHAB::Core::ItemProxy.new(i) }
end

# Name of the group
Expand Down

0 comments on commit 19bd416

Please sign in to comment.