To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
#Template trigger function not working in 2026.2
1 messages · Page 1 of 1 (latest)
The template is fine and nothing changed with template sensors
I.e. You're looking in the wrong spot
make sure your upstream entities have values by going to developer tools -> states page and verifing they exist.
for what it's worth i prefer just doing:
```
not_to:
- 'unknown'
- 'unavailable'
rather than messing with conditions