From d33b1c2b9220bcfa8be6b3d15ce52aac3df3a47d Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 23 Mar 2023 15:36:20 -0400 Subject: [PATCH] Remove unused school events sensor --- packages/school.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/school.yaml b/packages/school.yaml index 67316ef..3739800 100644 --- a/packages/school.yaml +++ b/packages/school.yaml @@ -254,18 +254,18 @@ sensor: # Nothing # {%- endif %} - - platform: rest - resource: https://raw.githubusercontent.com/tm24fan8/Home-Assistant-Configs/master/packages/json_data/school.json - name: School Event - scan_interval: 14400 - value_template: > - {% set today = now().month ~ '/' ~ now().day %} - {% set event = value_json.EVENTS.static[ today ] %} - {%- if event %} - {{ event }} - {% else %} - Nothing - {%- endif %} + # - platform: rest + # resource: https://raw.githubusercontent.com/tm24fan8/Home-Assistant-Configs/master/packages/json_data/school.json + # name: School Event + # scan_interval: 14400 + # value_template: > + # {% set today = now().month ~ '/' ~ now().day %} + # {% set event = value_json.EVENTS.static[ today ] %} + # {%- if event %} + # {{ event }} + # {% else %} + # Nothing + # {%- endif %} automation: - id: e1cb2d02-0423-11eb-adc1-0242ac120002