Skip to content

Commit

Permalink
Code Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
thejeffreystone committed Sep 29, 2020
1 parent 83c0276 commit 385c79f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion config/packages/audio.yaml
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions config/packages/halloween.yaml
Expand Up @@ -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
12 changes: 6 additions & 6 deletions config/packages/holidays.yaml
Expand Up @@ -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
Expand Down

0 comments on commit 385c79f

Please sign in to comment.