Feature Request: datetime Entity Node
#2009
joaopedros2
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I'd like to request a new Entity Node for
datetime, similar to the existingtime-entitynode, but supporting a combined date and time value — equivalent to Home Assistant'sinput_datetimehelper withhas_date: trueandhas_time: true.Motivation
Currently, the package has a
time-entitynode (Entity Nodes section) that creates atimeentity in HA, but it only supports theHH:mm:ssformat — no date component.To expose a full date+time picker editable from the HA dashboard via Node-RED, users have to manually create an
input_datetimehelper in HA (via UI orconfiguration.yaml) and then interact with it using theActionnode. There is no way to create and manage it directly from Node-RED like the other entity nodes.Proposed Behaviour
A new
ha-datetime-entityEntity Node with:YYYY-MM-DD HH:mm:ss)The entity would appear in Home Assistant as a
datetimeentity, showing a full date+time picker on the dashboard.Example Use Case
Being able to set a future event date+time directly from the HA dashboard (e.g. a scheduled irrigation date, a reminder, an alarm with date), and have Node-RED react to it or control it programmatically.
References
time-entitynode: https://zachowj.github.io/node-red-contrib-home-assistant-websocket/node/time-entity.htmldatetimeentity: https://developers.home-assistant.io/docs/core/entity/datetime/Thank you for the great work on this package!
Beta Was this translation helpful? Give feedback.
All reactions