Hello,
I have the following simple rule
rule "door sensor activity"
when
Item door_sensor received update
then
say("the door has moved")
end
If I define “door_sensor” like this, I hear the say command.
Number door_sensor "front door" (ALL) {mqtt="<[mqttbroker:frontdoor:state:default]"}
But if I define it as a Contact, I don’t hear the say command.
Contact door_sensor "front door" (ALL) {mqtt="<[mqttbroker:frontdoor:state:default]"}
I’m probably doing something wrong, but could someone point me to the error of my way? I’m not displaying this in my sitemap, just trying to play audio when it happens. And although I can work with the Number type, I’m very confused why the Contact type isn’t working.