Using a pulse meter with Home Assistant to read your smart electricity meter

We recently moved into a house that has an ESB issued smart electricity meter (Kamstrup model 8660) in the utility cupboard outside of the house. Unfortunately the smart meter has no direct integration with Home Assistant so I needed to…