I have experienced a few issues recently where Home Assistant automations are triggered but the trigger state is null, and I don't even use Node Red...Is there a log to monitor that tracks everything? Guess I'll have to watch the docker log while I fiddle, but of course I never have these issues then.
Or are the debug nodes the only option?
Even though I should be studying for my Red Hat exam tomorrow I'm probably going to sit and fiddle with this.
I do see this...
I can see the State Change was yesterday morning at 09:37 when I left home. Then since then just magically nothing came in again.Code:
6 Aug 20:05:16 - [error] [server-state-changed:Person] TypeError: Cannot read property 'state' of null at ServerStateChangedNode.shouldHaltIfState (/data/node_modules/node-red-contrib-home-assistant-llat/nodes/server-events-state-changed/server-events-state-changed.js:63:83) at ServerStateChangedNode.onHaEventsStateChanged (/data/node_modules/node-red-contrib-home-assistant-llat/nodes/server-events-state-changed/server-events-state-changed.js:29:49) at emitOne (events.js:121:20) at HaEvents.emit (events.js:211:7) at HaEvents.onClientMessage (/data/node_modules/node-home-assistant-llat/lib/ha-events.js:65:22) at EventSource.client.on (/data/node_modules/node-home-assistant-llat/lib/ha-events.js:33:49) at emitOne (events.js:116:13) at EventSource.emit (events.js:211:7) at _emit (/data/node_modules/eventsource/lib/eventsource.js:242:17) at parseEventStreamLine (/data/node_modules/eventsource/lib/eventsource.js:257:9)