Skip to content

sensor.time stopped working #1789

@poelzi

Description

@poelzi

Describe the bug

Forward from hassio-addons/addon-node-red#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

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