NCO
(E. Gerland)
November 4, 2016, 4:14pm
1
All,
In OH1 I used a rule triggered by a string state:
rule "Abus Status monitoring Set"
when
Item Abus_Status changed to "Set"
then
...
This rule was not triggered in OH2 until I changed it to:
(removing the “”)
rule "Abus Status monitoring Set"
when
Item Abus_Status changed to Set
then
...
So obviously the state handling of strings changed, right?
rlkoshak
(Rich Koshak)
November 4, 2016, 6:02pm
2
So it would seem. Though I wonder would it work without the quotes for Strings with spaces?
NCO
(E. Gerland)
November 5, 2016, 6:41am
3
Good question.
And SmartHome Designer does not accept this:
if Abus_Batteriealarm.state == BUTTON - but I did not check whether it would work anyway.
In this case the designer requires “”