Hi everyone!
I’m having a pretty hard time understanding the mapping of items in the sitemap.
given a mapping file mapping.map
like
4.5=OFF
5.0=5.0 °C
5.5=5.5 °C
[…]
the following item will work:
Number FirstHeating "First Heating [MAP(mapping.map):%s]"
Number SecondHeating "Second Heating [MAP(mapping.map):%s]"
but if I want to add a switch to a sitemap, I’d still have to add every mapping again for the selection:
Selection item=FirstHeatingToggle mappings=[4.5="OFF", 5.0="5.0 °C", 5.5="5.5 °C"…]
Selection item=SecondHeatingToggle mappings=[4.5="OFF", 5.0="5.0 °C", 5.5="5.5 °C"…]
Is there any way to get all the available mappings from the transformation file into the selection for the sitemap so I don’t have to repeat myself there? Any hints appreciated!