i have a group for doors/windows. when any one of those open, i get an alert as seen here:
alias: alert door or window is opened
trigger:
- platform: state
entity_id: group.windows_doors
to: 'on'
condition: []
action:
- service: notify.telegram
data:
message: >-
The following doors and windows are open at 506! "{{states |
selectattr('entity_id', 'in',
state_attr('group.windows_doors','entity_id')) | selectattr
('state','in', ['on', 'open']) | list | map (attribute = 'name') | join
(',')}} "
mode: single
i can group temperature sensors in the same way. but how can i get an alert when any one of these sensors go above 85F?