Using openhab 2.4 (apt get hasslefree).
I´m trying the use expire binding to switch off an proxy item (switch item). But I get an error when i use command=OFF.
This is my item:
Switch nilanVent0 "Nilan ventilation trin 0" <switch> (gV) [ "Switchable" ] { expire="1s, command=OFF }
This is the error:
2019-01-27 23:39:39.706 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'proxyVentSwitch.items' has errors, therefore ignoring it: [2,25]: mismatched input 'Nilan' expecting '}'
[5,82]: mismatched character '<EOF>' expecting '"'
But if I use
Switch nilanVent0 "Nilan ventilation trin 0" <switch> (gV) [ "Switchable" ] { expire="1s, state=OFF" }
Then I not longer get an error.
Can anyone explain why?