This rule is one part of a bundle designed to allow the creation, configuration, and activation of scenes using the MainUI. The three parts are:
- Scene Activation (one instance for each scene you want to be able to trigger)
- Scene Modification (only a single instance)
- Scene Control Widget
Install this rule once to enable the functions associated with the Scene Control Widget (see link above). Add this rule once and configure it to use the same proxy item as the the widget. No further setup is required.
Language:
- JSscripting ECMAScript 2021+
- Nashorn JavaScript ECMAScript 5.1
Dependencies:
- This rule requires the creation of a String type proxy item.
- This rule requires the Scene Control Widget (see above)
Changelog
Version 0.4
- Big fix: new string replacement format
Version 0.3
- Fixed breaking change in OH3.2
- Compatibility for JSscripting add-on
Version 0.2
- Description improvements
Version 0.1
- initial release
Resources
https://raw.githubusercontent.com/JustinGeorgi/openhab-public/main/rules/scene_modification.yaml