Robuta

https://www.home-assistant.io/template-functions/rejectattr/ Remove items by attribute test: rejectattr - Home Assistant Filters a list, removing items where a specified attribute passes a test. The opposite of selectattr. by attributeremoveitemstestassistant