diff --git a/lib/ha-websocket.js b/lib/ha-websocket.js
index <HASH>..<HASH> 100644
--- a/lib/ha-websocket.js
+++ b/lib/ha-websocket.js
@@ -285,6 +285,15 @@ class HaWebsocket extends EventEmitter {
                 this.states[emitEvent.entity_id] = emitEvent.event.new_state;
             }
 
+            // If old_state is null the state_changed was fired due to reloading of yaml files only send to events:all node
+            if (
+                emitEvent.event_type === 'state_changed' &&
+                emitEvent.event.old_state !== null
+            ) {
+                this.emit('ha_events:all', emitEvent);
+                return;
+            }
+
             // Emit on the event type channel
             if (emitEvent.event_type) {
                 this.emit(`ha_events:${msg.event_type}`, emitEvent);
fix: ignore state_changed event if old_state is null

* reloading of yaml files now triggers state_changed events
* only emit these events to the events:all node

Fixes #<I>