File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ sensor:
258
258
- platform: template
259
259
sensors:
260
260
nonsmoker:
261
- value_template: ' {{ (( as_timestamp(now()) - as_timestamp(strptime(" 06.07.2018", " %d.%m.%Y" )) ) / 86400 ) | round(2) }}'
261
+ value_template: " {{ (( as_timestamp(now()) - as_timestamp(strptime(' 06.07.2018', ' %d.%m.%Y' )) ) / 86400 ) | round(2) }}"
262
262
entity_id: sensor.date
263
263
friendly_name: 'Not smoking'
264
264
unit_of_measurement: "Days"
@@ -275,7 +275,7 @@ sensor:
275
275
- platform: template
276
276
sensors:
277
277
nonsmoker:
278
- value_template: ' {{ (( as_timestamp(now()) - as_timestamp(strptime(" 06.07.2018", " %d.%m.%Y" )) ) / 86400 ) | round(2) }}'
278
+ value_template: " {{ (( as_timestamp(now()) - as_timestamp(strptime(' 06.07.2018', ' %d.%m.%Y' )) ) / 86400 ) | round(2) }}"
279
279
entity_id: []
280
280
friendly_name: 'Not smoking'
281
281
unit_of_measurement: "Days"
You can’t perform that action at this time.
0 commit comments