Automatically include all entity with _energy

Hi there! I’m trying to get utility meter to automatically include all my entity that ends with _energy (so that in future when new devices with _energy is added it automatically be added to configuration.yaml with utility meter daily reading.

utility_meter:
sensor.camera_0ebb_energy:
source: sensor.camera_0ebb_energy
name: sensor.camera_0ebb_energy daily
cycle: daily

Thank you for this great community!

Please don’t open duplicate topics. Just bump the other one up the latest list by replaying to it yourself if you do not get a reply within a couple of days.