Github Mirror / telegraf-plugins: 88d20c83




Move tariff-code to be a tag

Move tariff-code to be a tag

Commit 88d20c83.

Authored 2023-07-06T12:10:12.000+01:00 by B Tasker in project Github Mirror / telegraf-plugins

+1 lines -1 lines

Commit Signature

Changes

diff --git a/octopus-energy/octopus-energy.py b/octopus-energy/octopus-energy.py
--- a/octopus-energy/octopus-energy.py
+++ b/octopus-energy/octopus-energy.py
# @@ -94,10 +94,10 @@ def consumedToLP(consumed, meter):
# "octopus_consumption", # the measurement name
# f"mpan={meter['mpan']}",
# f"meter_serial={meter['serial']}",
# + f"tariff_code={meter['tariff-code']}"
# ]
#
# fields = [
# - f"tariff_code={meter['tariff-code']}",
# f"consumption={consumed['consumption']}",
# ]
#
#