I would like to send notification via openhab app when a device changes a state.
For example this item as below:
Light_GF_Living_Ceiling
I got this rule, but it does not behave as expected. What am I missing here ?
rule “Lamp ON notification”
when
Item Light_GF_Living_Ceiling.state changed from OFF to ON
then
sendNotification("andy.xxxx@gmail.com", “Test”)
sendBroadcastNotification("Test")
end
2019-01-14 22:52:43.636 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'home.rules' has errors, therefore ignoring it: [167,6]: no viable alternative at input '“'