Removing those pesky entity_id from templat sensors..
This commit is contained in:
parent
029c67c438
commit
a2cd288e42
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue