You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
language is used to select transformations based on locales. You could have a transformation "switch" which depending on the locale translated ON to different values. This is also available in file-based transformations by adding a _de suffix to the filename (before the extension).
So if you have foo_en.script and a foo_de.script (or the corresponding managed UIDs), base on the locale either the first or the second is used when you configure SCRIPT(foo.script):%s.
Using MAP(switch.map) or MAP(config:map:switch) for Item states does not work and leads to:
Failed transforming the state 'OFF' on item 'test_switch' with pattern 'MAP(switch.map):%s': Could not find configuration 'switch.map' or failed to parse it.
Steps to Reproduce (for Bugs)
See above.
Context
I have discovered this while working on the UI transformation menu & editor.
If this is still supported, the UI needs a minor adjustment for the tip how to use that transformation.
Your Environment
Version used: SNAPSHOT openhab/openhab-core#3415
Environment name and version: Chrome 112
Operating System and version: Fedora 36
The text was updated successfully, but these errors were encountered:
Expected Behavior
Originally posted by @J-N-K in openhab/openhab-webui#1448 (comment)
Originally posted by @J-N-K in openhab/openhab-webui#1448 (comment)
Current Behavior
I have these transformations:
switch_de.map
switch_en.map
config:map:switch:de
config:map:switch:en
Using
MAP(switch.map)
orMAP(config:map:switch)
for Item states does not work and leads to:Steps to Reproduce (for Bugs)
See above.
Context
I have discovered this while working on the UI transformation menu & editor.
If this is still supported, the UI needs a minor adjustment for the tip how to use that transformation.
Your Environment
SNAPSHOT openhab/openhab-core#3415
The text was updated successfully, but these errors were encountered: