Energy Meter configuration generator

This tool helps to create configuration file (parts) to integrate energy meters with the the Modbus integration in Home Assistant.

It will generate a list of sensor definitions suitable for the sensors element of the configuration of a Modbus hub in Home Assistant.

You can put it directly in the configuration file where you define the Modbus hubs (make sure everything is indented correctly), or in its own file in a directory with configuration files for all other devices on the same bus, using !include_dir_merge_list (see Home Assistant documentation about Splitting Configuration for more information on how to do that).

If you have a different meter, feel free to add it by creating a pull request at github.com/MartijnVdS/meter-config