Hello,
is there a way to use JS script (for exmaple like this https://community.openhab.org/t/easiest-way-to-convert-seconds-to-minutes/47057/19?u=thisisio) in the rule?
Thanks
Hello,
is there a way to use JS script (for exmaple like this https://community.openhab.org/t/easiest-way-to-convert-seconds-to-minutes/47057/19?u=thisisio) in the rule?
Thanks
All transformations can be used in rules.
See: https://www.openhab.org/docs/configuration/transformations.html
It’s also worth mentioning that you can write rules in JavaScript using scripted automation. See