There is a new possibility in latest HA 2021.5.0 to set trigger time for a sensor.
How to translate that to a NodeRED? I know to set the service, but like to know how to set the data part.
I like to change my "climate.verwarming "trigger time. Or is this only possible with a sensor type entity_id?
Example givin in the update:
- id: update_morning_commute_sensor
alias: "Commute - Update morning commute sensor"
initial_state: "on"
trigger:
- platform: time_pattern
minutes: "/2"
condition:
- condition: time
after: "08:00:00"
before: "11:00:00"
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: homeassistant.update_entity
target:
entity_id: sensor.morning_commute
Thanks