Getting CC128 Home energy monitor data into HASS

For those interested, I have just created a custom component for CurrentCost: