Various nodes to assist in setting up automation using Node-RED communicating with Home Assistant.
Documentation can be found here.
Have Node-RED installed and working, if you need to install Node-RED see here.
Install via Node-RED Manage Palette
node-red-contrib-home-assistant-websocket
Install via npm
$ cd ~/.node-red
$ npm install node-red-contrib-home-assistant-websocket
# then restart node-red
For Home Assistant add-on users:
The Community add-on ships with this node right out of the box.
Under the server node config just check the checkbox for I use the Home Assistant Add-on
The add-on can be found here: https://github.com/hassio-addons/addon-node-red#readme