Request/Enhancement: Enable entities to exist as Date/Time helpers
FirstRulez opened this issue · 2 comments
According to the docs you can already do this:
or another sensor entity containing a timestamp with the “timestamp” device class, can be used instead.
E.g., I just tried this:
automations:
- trigger:
- platform: homeassistant
event: start
condition:
- condition: time
before: sensor.sunset
action:
- event: TEST
And it fired the event.
The problem seems to be the frontent. It's only allowing selection of input_datetime
entities when it should also allow sensor
entities that have a timestamp
device class (which the sun2 "point in time" sensors do. have) You should open an issue with HA (or its frontend.)
The problem seems to be the frontent. It's only allowing selection of
input_datetime
entities when it should also allowsensor
entities that have atimestamp
device class (which the sun2 "point in time" sensors do. have) You should open an issue with HA (or its frontend.)
Thank you. appreciate the feedback - I will try to set up the automations using the config files (I'm not very good at it, but I think your help above should set me on the right path.