- Platform information:
- Hardware: Raspberry Pi 3B
- OS: openHABian
- Java Runtime Environment: Zulu8.40.0.178-CA-linux_aarch32hf
- openHAB version: 2.5.0.M2
- Issue of the topic:
Using MAP transformation as a profile doesn’t seem to work for Number items. Tried with items defined in PaperUI as well as via .items file:
Number Thermostat_Mode_Test "Modus: %s" {channel="zwave:device:6a4485d3:node9:thermostat_mode"[profile="transform:MAP", function="thermostat_mode.map", sourceFormat="%s"]}
The according thermostat_mode.map
file:
0=AUS
0.0=AUS
1=EIN (Zeitplan)
1.0=EIN (Zeitplan)
=unbekannt
For String items the transformation works as expected (didn’t try other item types).
There are no errors or warnings found in the logs according to that issue.
Since using profiles seems to be the only way to do transformation on items created in PaperUI, I don’t know how to workaround.
Don’t know if this is expected behaviour or if I should file an issue on github?
Best regards,
Hans