# Homey Energy | Megathread

**URL:** <https://community.homey.app/t/homey-energy-megathread/123457>\
**Category:** Energy\
**Tags:** homey-pro-2023, homey-cloud, homey-pro-mini\
**Created:** [December 10, 2024, 9:26am UTC](https://community.homey.app/t/homey-energy-megathread/123457 "2024-12-10T09:26:26Z")\
**Posts on this page:** 1\
**Showing post:** 643

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [April 3, 2025, 5:14pm UTC](https://community.homey.app/t/homey-energy-megathread/123457/643 "2025-04-03T17:14:30Z")

</div>

The device should have the “Cumulative energy measuring” flag a available, and have it enabled. This is a generic setting for energy, gas and water meters:

 ![1000045953](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/7/e79f6e5eb8b3fb41c3f965c45af9db15d5afa253.jpeg)

But I can’t find such setting anywhere in ESPhome.

But,  
When it’s already present in H.A., you can easily add it to Homey with the [Home Assistant community app](https://community.homey.app/t/app-pro-home-assistant-community-app/71477).

1. add a device type ‘Custom device’ sensor:  
 ![1000045965](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/7/47489c8a966c0f87689befbd7453a801ad49adeb.jpeg)
2. after it’s added, go to device settings \> Maintenance and select “Try to Repair”
3. pick “Add entity”, and in the following screen, select the ESP gas meter entity
4. change the _capability_ to solely `meter_gas`  
 ![Screenshot_20250403_193019_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/8/c8d8db41ba6d98ae7a961961e8e8bc6cf724533b.jpeg)
5. enter the desired value’s decimals
6. press “Add entity”  
 ![Screenshot_20250403_193046_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/0/c0adbe512c6df815c61340aacd483e71ffdd0dbb.jpeg)

Next, enter the devices’ _advanced settings_, and enable the cumulative flag:

 ![1000045960](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/8/18b1d056af843dcc4e28005abb61b884fca540ae.jpeg)

I hope this makes sense?

---

_[View the full topic](https://community.homey.app/t/homey-energy-megathread/123457)._
