pdmangel / node-red-contrib-openhab2

Other
21 stars 15 forks source link

[Enhancement] Suggest to send complete msg info for openhab2-out node #47

Open lsafelix75 opened 4 years ago

lsafelix75 commented 4 years ago

Hi,

Just a suggestion to include a complete msg object that include itemname for 77-openhab2.js line 482 to the following. The main reason i suggest this is because we can use subsequent nodes to verify the intended status for a configured item on openhab2-out. Thanks.

msg.item = item; node.send(msg); instead of node.send(msg)