Time picker automatism

Hi! I ve a working automation based on timer. At 9am the blinds up and at 19.00 close. Can I ve a timepicker that replace my hardcoded 9am and 19.00? Do you ve some sample? Thnks a looot!

Create an input_datetime (that only has_time), and sensor.time. Then use a trigger like this:

trigger:
  platform: template
  value_template: >
    {{ states('sensor.time') == states('input_datetime.blinds_up')[:-3] }}
1 Like

Works great, thanks! :slight_smile:

1 Like