Advertisement
Guest User

Untitled

a guest
Apr 1st, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. - alias: Playing by url
  2. trigger:
  3. platform: template
  4. value_template: "{{ states.sensor.time_date.state == as_timestamp(states.input_datetime.playing_time.state) | timestamp_custom('%H:%M, %Y-%m-%d', true) }}"
  5. action:
  6. service: script.start_reading
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement