From 385c79fc4d3841502751aeeeb290559c675c3d87 Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Tue, 29 Sep 2020 15:12:07 -0400 Subject: [PATCH] Code Clean up --- config/packages/audio.yaml | 2 +- config/packages/halloween.yaml | 16 ++++++++-------- config/packages/holidays.yaml | 12 ++++++------ 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/config/packages/audio.yaml b/config/packages/audio.yaml index 3e95b2d..ec0b354 100755 --- a/config/packages/audio.yaml +++ b/config/packages/audio.yaml @@ -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 diff --git a/config/packages/halloween.yaml b/config/packages/halloween.yaml index 4b9c0af..a7cdd0c 100755 --- a/config/packages/halloween.yaml +++ b/config/packages/halloween.yaml @@ -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 \ No newline at end of file +# 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 \ No newline at end of file diff --git a/config/packages/holidays.yaml b/config/packages/holidays.yaml index ee60a48..31673aa 100755 --- a/config/packages/holidays.yaml +++ b/config/packages/holidays.yaml @@ -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