p1_parser v0.1.8
P1.Telegram.TotalEnergy
Total electric energy consumed or produced in normal or low tariff
Example
iex> P1.parse!("1-0:1.8.1(123456.789*kWh)") |> P1.to_struct
%P1.Telegram.TotalEnergy{direction: :consume, tariff: :low, unit: "kWh", value: 123456.789}