Skip to content

No node status after HA restart? #336

@Trzinka

Description

@Trzinka

Describe the bug

Hi!

I noticed that after restarting HA there is no node status (shown in the image)?
It shows running and remains so until the entity status changes.!

Image

After restarting Node-red the thing work?

Node setting:
Image

To Reproduce

No response

Expected behavior

We would expect the nodes to refresh like they do after restarting the Node-RED add-on Current version: 19.0.2 from Franck Nijhof.

When I wrote to Franck, he replied: This is not an add-on issue, but an issue with the Node-RED node for Home Assistant. Please report the issue upstream; once fixed and released upstream, I'm happy to update the add-on.

I hope you are the right address to solve the problem!

Screenshots

Image

Example Flow

[
    {
        "id": "8d607ad27d7505d6",
        "type": "server-state-changed",
        "z": "0e96811211eede05",
        "name": "Tm-Sp stikalo",
        "server": "5f28286e.ae6338",
        "version": 4,
        "exposeToHomeAssistant": false,
        "haConfig": [
            {
                "property": "name",
                "value": ""
            },
            {
                "property": "icon",
                "value": ""
            }
        ],
        "entityidfilter": "switch.tm_sp",
        "entityidfiltertype": "exact",
        "outputinitially": true,
        "state_type": "str",
        "haltifstate": "",
        "halt_if_type": "str",
        "halt_if_compare": "is",
        "outputs": 1,
        "output_only_on_state_change": false,
        "for": "0",
        "forType": "num",
        "forUnits": "minutes",
        "ignorePrevStateNull": false,
        "ignorePrevStateUnknown": false,
        "ignorePrevStateUnavailable": false,
        "ignoreCurrentStateUnknown": false,
        "ignoreCurrentStateUnavailable": false,
        "outputProperties": [
            {
                "property": "payload",
                "propertyType": "msg",
                "value": "",
                "valueType": "entityState"
            },
            {
                "property": "data",
                "propertyType": "msg",
                "value": "",
                "valueType": "eventData"
            },
            {
                "property": "topic",
                "propertyType": "msg",
                "value": "",
                "valueType": "triggerId"
            }
        ],
        "x": 250,
        "y": 400,
        "wires": [
            [
                "2eca172c43e73869"
            ]
        ]
    },
    {
        "id": "5f28286e.ae6338",
        "type": "server",
        "name": "Home Assistant",
        "version": 5,
        "addon": true,
        "rejectUnauthorizedCerts": true,
        "ha_boolean": "y|yes|true|on|home|open",
        "connectionDelay": true,
        "cacheJson": true,
        "heartbeat": false,
        "heartbeatInterval": 30,
        "areaSelector": "friendlyName",
        "deviceSelector": "friendlyName",
        "entitySelector": "friendlyName",
        "statusSeparator": "at: ",
        "statusYear": "hidden",
        "statusMonth": "short",
        "statusDay": "numeric",
        "statusHourCycle": "h23",
        "statusTimeFormat": "h:m",
        "enableGlobalContextStore": true
    }
]

Environment Information

Home Assistant

Installation method: Home Assistant OS
Core: 2025.5.2
Supervisor: 2025.05.1
Operating System: 15.2
Frontend: 20250516.0

Node-RED Companion: 4.1.2
Node-RED add-on Current version: 19.0.2

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions