Hi everyone! ![]()
I’ve been working on a custom integration for Home Assistant called Virtual Gas Meter and I’m finally at a point where I’d love to share it with the community and get some testers.
If you want to track your gas consumption (or simulate a gas meter) without having a dedicated physical smart meter on your main gas line, this integration might be useful for you.
What it does
The Virtual Gas Meter integration allows you to create a virtual sensor that tracks gas usage based on custom triggers, pulses, or calculated values, perfectly integrated with Home Assistant’s energy dashboard (device_class: gas, state_class: total_increasing).
Features
- Easy setup and configuration.
- Designed to work seamlessly with the Home Assistant Energy dashboard.
- Lightweight and built following current HA standards.
Installation (HACS / Manual)
- Via HACS (recommended): (Note: If you haven’t added it as a custom repository yet, you can do so in HACS using your GitHub URL).
- Manual: Copy the
virtual_gas_meterfolder into yourcustom_componentsdirectory and restart Home Assistant.
Links & Repository
You can find the source code, documentation, and installation instructions on GitHub:
GitHub - nebbiadigiorno/ha-virtual-gas-meter
Feedback & Testing
Since this is an integration ready for testing, I would really appreciate any feedback, bug reports, or feature requests. Feel free to open an issue on GitHub or reply directly to this thread if you try it out!
Happy automating! ![]()