Removing those pesky entity_id from templat sensors..

This commit is contained in:
Jeffrey Stone 2020-12-06 21:57:50 -05:00
parent 029c67c438
commit a2cd288e42
1 changed files with 0 additions and 2 deletions

View File

@ -90,11 +90,9 @@ sensor:
school_start_days2go:
value_template: '{{ (((states.input_datetime.school_first_day.attributes.timestamp)-as_timestamp(now())) | int /60/1440) | round(0) }}'
unit_of_measurement: 'Days'
entity_id: input_datetime.school_first_day,sensor.time
school_end_days2go:
value_template: '{{ (((states.input_datetime.school_last_day.attributes.timestamp)-as_timestamp(now())) | int /60/1440) | round(0) }}'
unit_of_measurement: 'Days'
entity_id: input_datetime.school_last_day,sensor.time
automation:
- id: refresh_special_event_sensors