Code Clean up

This commit is contained in:
Jeffrey Stone 2020-09-29 15:12:07 -04:00
parent 83c0276434
commit 385c79fc4d
3 changed files with 15 additions and 15 deletions

View File

@ -11,7 +11,7 @@
################################
# Media Player section for any media players you want to define. Most of these are setup via the integrations flow in the UI,
# but if not you may need to modify the following section.
# For more info on Media Palyers visit https://www.home-assistant.io/integrations/media_player/
# For more info on Media Players visit https://www.home-assistant.io/integrations/media_player/
# MODIFY this section as needed or comment it out completely if not needed.
media_player:
- platform: yamaha

View File

@ -254,11 +254,11 @@ script:
"/media/haunted_sounds/Haunted-Vocals.mp3"
] | random -}}
sensor:
# Halloween Countdown Sensor using Wolfram Alpha. See the note at the top for a link to how to set it up
- platform: rest
name: Halloween Countdown
resource: !secret WA_HALLOWEEN
value_template: "{{ (value|replace(' days', '')) | int }}"
unit_of_measurement: Days
scan_interval: 43200
# sensor:
# # Halloween Countdown Sensor using Wolfram Alpha. See the note at the top for a link to how to set it up
# - platform: rest
# name: Halloween Countdown
# resource: !secret WA_HALLOWEEN
# value_template: "{{ (value|replace(' days', '')) | int }}"
# unit_of_measurement: Days
# scan_interval: 43200

View File

@ -158,12 +158,12 @@ automation:
# - service: script.haunted_sounds
sensor:
# - platform: rest
# name: Halloween Countdown
# resource: !secret WA_HALLOWEEN
# value_template: "{{ (value|replace(' days', '')) | int }}"
# unit_of_measurement: Days
# scan_interval: 43200
- platform: rest
name: Halloween Countdown
resource: !secret WA_HALLOWEEN
value_template: "{{ (value|replace(' days', '')) | int }}"
unit_of_measurement: Days
scan_interval: 43200
- platform: rest
name: Christmas Countdown