New Release 0.17.0
This release brings two new nodes and an additional feature to existing event nodes. These new nodes will require a custom integration to be installed as companion to node-red-contrib-home-assistant-websocket.
If you choose not to install the custom integration this package will continue to function as it always has you just won’t be able to use the new sensor and webhook nodes or have the ability to expose event nodes to Home Assistant.
Sensor Node:
It will create a sensor or binary sensor inside Home Assistant that can be updated directly from Node-RED.
Webhook Node:
Creates a webhook in Home Assistant that will be handled by Node-RED.
https://[ip]:[port]/api/webhook/LvNwB2ckjGWyYGVvArJ0uCUbQFrqAWcg
Event Nodes (events: all, events: state, trigger: state, and poll state):
Will have the option to be exposed to Home Assistant, and when enabled, it will show up in Home Assistant as a switch. Turning on and off these switches will disable/enable the nodes in Node-RED. This should help people who find themselves having to make input_booleans in HA to enable/disable flows.
Installation
Installation of custom integration can be done using HACS or manually, instruction can be found in the README.
Tip:
Filling in the name field in the HA config of these new nodes before you first deploy will attempt to create it with that entity_id otherwise it will default to sensor.nodered_79fba2c4_04342c
. Where the random string is the node id in Node-RED. The entity ids change be changed in HA after creating them in NR.