Remove unused school events sensor

This commit is contained in:
2023-03-23 15:36:20 -04:00
parent de20ba29e3
commit d33b1c2b92

View File

@ -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