One Automation for all similar sensors

Hello Team,

I wounder if there is a way to create one Automation that will be triggered based on a condition in any of my current / future similar sensor

Currently for every automation I create I have to add my sensors manually, which can be hard to maintain in the future

The idea (as basic use case) is the following

New Automation :
Trigger any temperature sensor with temp above x
Action: run AC in the Area of the sensor that triggered the automation

Other example not related to temperature

New Automation :
Trigger : any device with battery and battery below 20
Action: notify me

New Automation
Trigger: any entity that became unavailable or unknown
Action: notify me

Im sure will find some custom components but I would love if such basic feature could be already in HA

In some cases it is possible to do by using one or more template sensors as intermediaries, but you are usually better off to just manually update you trigger.

There are a few open feature requests for new trigger types or modification to the Template trigger to make this possible, but they have not been completed yet.

Related FRs:
https://community.home-assistant.io/t/add-support-for-wildcards-in-automation-trigger-entity-id/152337

https://community.home-assistant.io/t/trigger-condition-entity-id-group-entities-as-list-of-entities/620636

https://community.home-assistant.io/t/reusable-shared-trigger-template-variables/745584/10

https://community.home-assistant.io/t/template-triggered-limiting-outcome-to-true-and-false-instead-of-comparing-old-and-new-state-causing-automations-such-as-counting-number-of-on-binary-sensors-by-device-class-relying-on-template-unable-to-function/573925