Code Clean up
This commit is contained in:
parent
83c0276434
commit
385c79fc4d
|
@ -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,
|
# 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.
|
# 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.
|
# MODIFY this section as needed or comment it out completely if not needed.
|
||||||
media_player:
|
media_player:
|
||||||
- platform: yamaha
|
- platform: yamaha
|
||||||
|
|
|
@ -254,11 +254,11 @@ script:
|
||||||
"/media/haunted_sounds/Haunted-Vocals.mp3"
|
"/media/haunted_sounds/Haunted-Vocals.mp3"
|
||||||
] | random -}}
|
] | random -}}
|
||||||
|
|
||||||
sensor:
|
# sensor:
|
||||||
# Halloween Countdown Sensor using Wolfram Alpha. See the note at the top for a link to how to set it up
|
# # Halloween Countdown Sensor using Wolfram Alpha. See the note at the top for a link to how to set it up
|
||||||
- platform: rest
|
# - platform: rest
|
||||||
name: Halloween Countdown
|
# name: Halloween Countdown
|
||||||
resource: !secret WA_HALLOWEEN
|
# resource: !secret WA_HALLOWEEN
|
||||||
value_template: "{{ (value|replace(' days', '')) | int }}"
|
# value_template: "{{ (value|replace(' days', '')) | int }}"
|
||||||
unit_of_measurement: Days
|
# unit_of_measurement: Days
|
||||||
scan_interval: 43200
|
# scan_interval: 43200
|
|
@ -158,12 +158,12 @@ automation:
|
||||||
# - service: script.haunted_sounds
|
# - service: script.haunted_sounds
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
# - platform: rest
|
- platform: rest
|
||||||
# name: Halloween Countdown
|
name: Halloween Countdown
|
||||||
# resource: !secret WA_HALLOWEEN
|
resource: !secret WA_HALLOWEEN
|
||||||
# value_template: "{{ (value|replace(' days', '')) | int }}"
|
value_template: "{{ (value|replace(' days', '')) | int }}"
|
||||||
# unit_of_measurement: Days
|
unit_of_measurement: Days
|
||||||
# scan_interval: 43200
|
scan_interval: 43200
|
||||||
|
|
||||||
- platform: rest
|
- platform: rest
|
||||||
name: Christmas Countdown
|
name: Christmas Countdown
|
||||||
|
|
Loading…
Reference in New Issue