diff --git a/lib/events-ha-node.js b/lib/events-ha-node.js
index <HASH>..<HASH> 100644
--- a/lib/events-ha-node.js
+++ b/lib/events-ha-node.js
@@ -230,6 +230,8 @@ class EventsHaNode extends EventsNode {
     triggerNode() {}
 
     updateHomeAssistant() {
+        if (!this.isIntegrationLoaded) return;
+
         const message = {
             type: 'nodered/entity',
             server_id: this.nodeConfig.server.id,
fix(trigger-state): Only update HA when integration is loaded

Fixes: #<I>