node-red-contrib-home-assistant
node-red-contrib-home-assistant copied to clipboard
When HA is restarted the home-assistant nodes stop working without notice
Describe the bug When Home-Asistant is restarted from Configuration button "RESTART" node-red keeps running, and the nodes that were communicating with Home-Assistant stop working
To Reproduce Steps to reproduce the behavior:
- Restart HA (running on Hassio)
- Test any node that reads information from HA or writes information to it: they are not executed (server-state-changed, api-call-service)
- Restart node-red (docker container)
- Test any node: they are processed
Expected behavior The stopping of Home-Assistant should be detected and reconnection managed.
Environment (please complete the following information):
- Node Red Version: [0.18.7]
- NR Home Assistant Plugin Version: [0.3.2]
- Is Node Red running in Docker: [yes]
Other (please complete the following information):
- Have you searched previous issues for duplicates?: yes
- Did you attempt to reproduce the issue in the dev docker environment, if so what were results (See README.md): no