I’m trying to filter, but apparently there is an entity that has no attribute “deco_device” and therefore I get the following error: “UndefinedError: ‘homeassistant.helpers.template.TemplateState object’ has no attribute 'deco_device”.
Can someone tell me how to solve this?
the code: