Sorry I didn’t catch that I think that was a oversight from me testing other people’s examples.
After I corrected that I am getting a Warning message in the logs. Here is the message I’m seeing when I switch the relay on and back off using the physical switch.
2017-12-08 15:30:26.078 [WARN ] [b.core.events.EventPublisherDelegate] - given new state is NULL, couldn’t post update for ‘Lamp1’
2017-12-08 15:34:30.619 [WARN ] [b.core.events.EventPublisherDelegate] - given new state is NULL, couldn’t post update for ‘Lamp1’
And here is what is shows using the OH switch.
2017-12-08 15:35:28.575 [ItemCommandEvent ] - Item ‘Lamp1’ received command ON
2017-12-08 15:35:28.601 [ItemStateChangedEvent ] - Lamp1 changed from OFF to ON
2017-12-08 15:35:28.833 [WARN ] [b.core.events.EventPublisherDelegate] - given new state is NULL, couldn’t post update for 'Lamp1’
2017-12-08 15:35:29.946 [ItemCommandEvent ] - Item ‘Lamp1’ received command OFF
2017-12-08 15:35:29.970 [ItemStateChangedEvent ] - Lamp1 changed from ON to OFF
2017-12-08 15:35:30.185 [WARN ] [b.core.events.EventPublisherDelegate] - given new state is NULL, couldn’t post update for ‘Lamp1’
Is this an indication of a problem with en.map?