Alexa last called log error

I’m struggling with getting Alexa to reliable respond without “device unavailable” or having to try getting through on the second try. I have the following error in logs and thought I’d start there with fixing that:

Logger: homeassistant.helpers.template
Source: helpers/
First occurred: 8:27:23 PM (2 occurrences)
Last logged: 8:27:23 PM

Template variable warning: No first item, sequence was empty. when rendering '{{ expand( | selectattr('attributes.last_called','eq',True) | map(attribute='entity_id') | first }}'

Not sure what this means or if it’s simply a “first call” type of error I can ignore. Appreciate any help I can get.

1 Like

Did you find the solution to this issue?