Implementation of the scene with multiple door and window sensors and notification

I have many scenes and automations, I’ve had HA for several months, but I have no idea, I can’t cope with building automation, where:

  1. There are 10pcs window/door binary sensors
  2. I want the opening or closing of any of them, i.e. any change in the status of a single item, to send me a notification to my phone.

Maybe it’s something simple, I have many difficult projects, but somehow I can’t do it. Help!!!

Here is how I did mine.

I setup a group helper with all my binary sensors that are there for my alarm.

Then I created this automation that shuts off my HVAC when any are open for more than 5 minutes.

Not exactly what you are doing, but I thought it would provide some guidance.

alias: Heating/Cooling-Change Temps If a Window is Open
description: ""
  - platform: state
    entity_id: binary_sensor.windows_doors_alarm
    from: "off"
      hours: 0
      minutes: 5
      seconds: 0
    to: "on"
condition: []
  - service: climate.set_preset_mode
      preset_mode: away
      entity_id: climate.home
mode: restart

A few tweaks and you should be able to steal much of that.

Setting up the group helper and not forgetting any sensors is the biggest pain.