Moving to wolfram alpha for holidat countdowns

This commit is contained in:
Jeffrey Stone 2019-11-08 06:52:05 -05:00
parent f00f5bdccb
commit 13d76f120a
1 changed files with 14 additions and 1 deletions

View File

@ -195,4 +195,17 @@ script:
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: Christmas Countdown
resource: !secret WA_XMAS
value_template: "{{ (value|replace(' days', '')) | int }}"
unit_of_measurement: Days
scan_interval: 43200