I have followed a sample rule “Fire detection” which is on the openhab wiki.
It complained that no Item Alarm_Fire was found so i simply added
Switch Alarm_Fire "Fire Alarm"
into the items file.
The rule worked and Alarm_Fire was switched to the ON state.
So i need to put the switch back to OFF. And this is where i am having problems.
As adding the
Switch Alarm_Fire label="Fire!!!" icon="radio"
in the sitemap file gves nothing.
Please take a look in the wiki how a switch has to be added to a sitemap:
Switch item=<itemname> [label="<labelname>"] [icon="<iconname>"] [mappings="<mapping definition>"]
So in your case this should work:
Switch item=Alarm_Fire label="Fire!!!" icon="radio"
Thanks! Haven’t noticed this typo