fixes #3096 Adds a new block to allow enabling/disabling rules. Variables of type Boolean and String are supported. A String with "true" or "enabled" will be converted to true, all other values will result into false. <img width="471" alt="image" src="https://github.com/user-attachments/assets/30210a96-5adb-4b65-ad45-0e6a082fe486" /> I also added Boolean to typed variables as this was missing: <img width="417" alt="image" src="https://github.com/user-attachments/assets/30cf9ec1-46bd-45d8-95bc-6fb11ea99a16" /> I used "as" because I think this is the most intuitive way of describing what the block does, in particular when you use "enabled". If anyone has a better idea to make the block design better, then please provide feedback. Using a dropdown with Note that "Enable/Disable" ruleUID would be nicer but would not allow to use variables. --------- Signed-off-by: Stefan Höhn <mail@stefanhoehn.com> |
||
---|---|---|
.. | ||
org.openhab.ui | ||
org.openhab.ui.basic | ||
org.openhab.ui.cometvisu | ||
org.openhab.ui.habot | ||
org.openhab.ui.habpanel | ||
org.openhab.ui.iconset.classic | ||
pom.xml |