Skip to content

Instantly share code, notes, and snippets.

View nebhead's full-sized avatar

nebhead

  • California
View GitHub Profile
@EverythingSmartHome
EverythingSmartHome / All open windows and doors
Last active December 9, 2025 00:57
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 }}