I just noticed the below error in my log yet have no idea where it comes from. I don’t have a pixel 6 and so have never coded any template for one…
Log Details (WARNING)
Logger: homeassistant.helpers.template
Source: helpers/template.py:1291
First occurred: January 10, 2022, 11:59:05 (9 occurrences)
Last logged: January 10, 2022, 12:12:07
- Template warning: ‘as_timestamp’ got invalid input ‘unknown’ when rendering template ‘state: “{{((as_timestamp(states(‘sensor.pixel_6_next_alarm’)) - as_timestamp(now()))/60) | int}}”’ but no default was specified. Currently ‘as_timestamp’ will return ‘None’, however this template will fail to render in Home Assistant core 2022.1
I’ve searched in Studio Code but (as expected) it finds no matches for the code in the error.
Anyone know where to look?