Hi,
HA is generating huge amounts of these log entries, but I can’t find the source:
home-assistant.log.1:2022-01-20 11:33:12 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'as_timestamp' got invalid input 'None' when rendering template '# {{ as_timestamp(state_attr('sun.sun', 'next_')) | timestamp_custom('%H:%M') }}' but no default was specified. Currently 'as_timestamp' will return 'None', however this template will fail to render in Home Assistant core 2022.1
home-assistant.log.1:2022-01-20 11:33:12 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'timestamp_custom' got invalid input 'None' when rendering template '# {{ as_timestamp(state_attr('sun.sun', 'next_')) | timestamp_custom('%H:%M') }}' but no default was specified. Currently 'timestamp_custom' will return 'None', however this template will fail to render in Home Assistant core 2022.1
home-assistant.log.1:2022-01-20 11:33:12 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'as_timestamp' got invalid input 'None' when rendering template '# {{ as_timestamp(state_attr('sun.sun', 'next_r')) | timestamp_custom('%H:%M') }}' but no default was specified. Currently 'as_timestamp' will return 'None', however this template will fail to render in Home Assistant core 2022.1
home-assistant.log.1:2022-01-20 11:33:12 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'timestamp_custom' got invalid input 'None' when rendering template '# {{ as_timestamp(state_attr('sun.sun', 'next_r')) | timestamp_custom('%H:%M') }}' but no default was specified. Currently 'timestamp_custom' will return 'None', however this template will fail to render in Home Assistant core 2022.1
home-assistant.log.1:2022-01-20 11:33:12 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'as_timestamp' got invalid input 'None' when rendering template '# {{ as_timestamp(state_attr('sun.sun', 'next_ri')) | timestamp_custom('%H:%M') }}' but no default was specified. Currently 'as_timestamp' will return 'None', however this template will fail to render in Home Assistant core 2022.1
home-assistant.log.1:2022-01-20 11:33:12 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'timestamp_custom' got invalid input 'None' when rendering template '# {{ as_timestamp(state_attr('sun.sun', 'next_ri')) | timestamp_custom('%H:%M') }}' but no default was specified. Currently 'timestamp_custom' will return 'None', however this template will fail to render in Home Assistant core 2022.1
home-assistant.log.1:2022-01-20 11:33:12 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'as_timestamp' got invalid input 'None' when rendering template '# {{ as_timestamp(state_attr('sun.sun', 'next_ris')) | timestamp_custom('%H:%M') }}' but no default was specified. Currently 'as_timestamp' will return 'None', however this template will fail to render in Home Assistant core 2022.1
home-assistant.log.1:2022-01-20 11:33:12 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'timestamp_custom' got invalid input 'None' when rendering template '# {{ as_timestamp(state_attr('sun.sun', 'next_ris')) | timestamp_custom('%H:%M') }}' but no default was specified. Currently 'timestamp_custom' will return 'None', however this template will fail to render in Home Assistant core 2022.1
home-assistant.log.1:2022-01-20 11:33:12 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'as_timestamp' got invalid input 'None' when rendering template '# {{ as_timestamp(state_attr('sun.sun', 'next_risi')) | timestamp_custom('%H:%M') }}' but no default was specified. Currently 'as_timestamp' will return 'None', however this template will fail to render in Home Assistant core 2022.1
home-assistant.log.1:2022-01-20 11:33:12 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'timestamp_custom' got invalid input 'None' when rendering template '# {{ as_timestamp(state_attr('sun.sun', 'next_risi')) | timestamp_custom('%H:%M') }}' but no default was specified. Currently 'timestamp_custom' will return 'None', however this template will fail to render in Home Assistant core 2022.1
home-assistant.log.1:2022-01-20 11:33:12 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'as_timestamp' got invalid input 'None' when rendering template '# {{ as_timestamp(state_attr('sun.sun', 'next_risin')) | timestamp_custom('%H:%M') }}' but no default was specified. Currently 'as_timestamp' will return 'None', however this template will fail to render in Home Assistant core 2022.1
home-assistant.log.1:2022-01-20 11:33:12 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'timestamp_custom' got invalid input 'None' when rendering template '# {{ as_timestamp(state_attr('sun.sun', 'next_risin')) | timestamp_custom('%H:%M') }}' but no default was specified. Currently 'timestamp_custom' will return 'None', however this template will fail to render in Home Assistant core 2022.1
Problem is, I’ve got absolutely no idea where this template is defined. It was part of a Markdown dashboard card, but I deleted that one. I checked all the plain-text files in my conf dir manually, nowhere to be found. Restarting HA has no effect.
Is there some caching going on?
Installation details:
System Health
version | core-2021.12.9 |
---|---|
installation_type | Home Assistant Container |
dev | false |
hassio | false |
docker | true |
user | root |
virtualenv | false |
python_version | 3.9.7 |
os_name | Linux |
os_version | 4.4.180+ |
arch | x86_64 |
timezone | Europe/Amsterdam |
Home Assistant Cloud
logged_in | false |
---|---|
can_reach_cert_server | ok |
can_reach_cloud_auth | ok |
can_reach_cloud | ok |
Lovelace
dashboards | 1 |
---|---|
resources | 0 |
views | 1 |
mode | storage |