Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 此範例為在2、4、6、8、10、12月1號的早上8點才會執行自動化
- description: "特定月份及日期觸發自動化"
- mode: single
- trigger:
- - platform: time
- at: "08:00:00"
- condition:
- - condition: template
- value_template: "{{ now().month in [2,4,6,8,10,12] }}"
- - condition: template
- value_template: "{{ now().day == 1 }}"
- action:
- - service: notify.line_notify
- data:
- message: Hello!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement