-
-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add rulesWithTags to oh-repeater (#1724)
fixes #1721 Add Scenes option to oh-repeater component This PR adds the possibility to iterate over a list of rules queried via a tag. For example it allows to create a list of Scenes via the oh-repeater by using the rulesTag = Scene and trigger the rule via a oh-button. Example ``` slots: default: - component: oh-list slots: default: - component: oh-repeater config: for: scene sourceType: rulesWithTags ruleTags: Scene slots: default: - component: oh-button config: action: rule actionRule: =loop.scene.uid text: =loop.scene.name ``` -- Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>
- Loading branch information
1 parent
de0e823
commit b3ca6b2
Showing
4 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters