Skip to content

Instantly share code, notes, and snippets.

@onealll
onealll / All open windows and doors
Last active October 18, 2025 17:44 — forked from EverythingSmartHome/All open windows and doors
A collection of useful templates for Home Assistant dashboards
{{ states.binary_sensor
| selectattr('attributes.device_class', 'in', ['door','window'])
| selectattr('state', 'equalto', 'on')
| list | count }}