node-red-contrib-home-assistant-websocket icon indicating copy to clipboard operation
node-red-contrib-home-assistant-websocket copied to clipboard

sensor.time stopped working

Open poelzi opened this issue 8 months ago • 0 comments

Describe the bug

Forward from https://github.com/hassio-addons/addon-node-red/issues/2063

I used a sensor.time to trigger events in node-red, but at some recent update, they stopped working. Tried to connect it to a debug output, but the debug node does not show any messages arriving, so I'm guessing there is something wrong with the ha connection.

To Reproduce

  1. Add Homeassistant time Node
  2. Select Enity 'sensor.time'
  3. Connect to Debug Node

Expected behavior

Should emit messages every minute

Screenshots

No response

Example Flow

[{"id":"c06adb002fc0c3a2","type":"ha-time","z":"2fa9ecda.70eb94","name":"","server":"245a6853.df8ea8","version":4,"exposeAsEntityConfig":"","entityId":"sensor.time","property":"","offset":"0","offsetType":"num","offsetUnits":"minutes","randomOffset":false,"repeatDaily":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"sunday":true,"monday":true,"tuesday":true,"wednesday":true,"thursday":true,"friday":true,"saturday":true,"ignorePastDate":true,"x":420,"y":540,"wires":[["274294e47b037ee8"]]},{"id":"274294e47b037ee8","type":"debug","z":"2fa9ecda.70eb94","name":"debug 3","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":700,"y":520,"wires":[]},{"id":"245a6853.df8ea8","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

Homeassistant plugin

Additional context

No response

poelzi avatar Mar 27 '25 00:03 poelzi