From f288fe68cd9b76da31022de11bc09ff011a82bff Mon Sep 17 00:00:00 2001 From: Justin Bassett Date: Mon, 18 Feb 2019 22:25:15 -0500 Subject: [PATCH 1/4] utility_meter net metering support Add documentation around net metering for utility_sensor. --- source/_components/utility_meter.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_components/utility_meter.markdown b/source/_components/utility_meter.markdown index d90b12ee4347..125f2b56dc59 100644 --- a/source/_components/utility_meter.markdown +++ b/source/_components/utility_meter.markdown @@ -50,6 +50,11 @@ offset: required: false default: 0 type: integer +rollover: + description: Set this to False if the source keeps it's value and will never rollover. Setting this to False will allow your utility_meter reading to go negative for net metering. + required: false + default: True + type: boolean tariffs: description: List of tariffs supported by the utility meter. required: false From 856b0b80aa6349ca956bbf4d31428316ad194d51 Mon Sep 17 00:00:00 2001 From: Justin Bassett Date: Wed, 20 Feb 2019 15:54:16 -0500 Subject: [PATCH 2/4] Change config item to new name New name to make it more obvious what the configuration does. --- source/_components/utility_meter.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_components/utility_meter.markdown b/source/_components/utility_meter.markdown index 125f2b56dc59..6c78114abb5c 100644 --- a/source/_components/utility_meter.markdown +++ b/source/_components/utility_meter.markdown @@ -50,10 +50,10 @@ offset: required: false default: 0 type: integer -rollover: - description: Set this to False if the source keeps it's value and will never rollover. Setting this to False will allow your utility_meter reading to go negative for net metering. +net_consumption: + description: Set this to True if you would like to treat the source as a net meter. This will allow your counter to go both positive and negative. required: false - default: True + default: False type: boolean tariffs: description: List of tariffs supported by the utility meter. From 471a9ffde2a161e1748939ed1764e11a6ec0563b Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 25 Feb 2019 21:59:42 +0100 Subject: [PATCH 3/4] :pencil2: Tweaks --- source/_components/utility_meter.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/utility_meter.markdown b/source/_components/utility_meter.markdown index 6c78114abb5c..74f58c6b10c3 100644 --- a/source/_components/utility_meter.markdown +++ b/source/_components/utility_meter.markdown @@ -51,7 +51,7 @@ offset: default: 0 type: integer net_consumption: - description: Set this to True if you would like to treat the source as a net meter. This will allow your counter to go both positive and negative. + description: Set this to True if you would like to treat the source as a net meter. This will allow your counter to go both positive and negative. required: false default: False type: boolean From 3bf7ba192fa7f15841913d165663e8b9bc962f38 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 25 Feb 2019 22:00:34 +0100 Subject: [PATCH 4/4] :pencil2: Tweak --- source/_components/utility_meter.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/utility_meter.markdown b/source/_components/utility_meter.markdown index 74f58c6b10c3..17d13b8763b6 100644 --- a/source/_components/utility_meter.markdown +++ b/source/_components/utility_meter.markdown @@ -53,7 +53,7 @@ offset: net_consumption: description: Set this to True if you would like to treat the source as a net meter. This will allow your counter to go both positive and negative. required: false - default: False + default: false type: boolean tariffs: description: List of tariffs supported by the utility meter.