Title says it all - this is my first time using templates, have I done this correctly? Kinda hard to test it other than waiting and finding out the hard way.
alias: 'Nighttime Lighting: Fourth of July'
description: ''
trigger:
- platform: sun
event: sunset
offset: '-10'
condition:
- condition: template
value_template: |-
{% if now().month == 7 and now().day == 4 %}
true
{% else %}
false
{% endif %}
action:
- service: scene.turn_on
target:
entity_id: scene.outside_front_america
metadata: {}
mode: single