Skip to content

Commit

Permalink
Use service instead of service_template
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarb committed Feb 12, 2023
1 parent f63a148 commit 71c07b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
toggle_tv_power:
alias: TV on/off
sequence:
- service_template: >
- service: >
{% if is_state('media_player.tv', 'off') %}
script.turn_tv_on
{% else %}
Expand Down

0 comments on commit 71c07b8

Please sign in to comment.