shack/powerraw: fix telegraf tags (which cannot be int for some reason now)
This commit is contained in:
parent
08a48b931b
commit
9f2c161de0
@ -67,7 +67,7 @@ in {
|
||||
};
|
||||
sensor = "total";
|
||||
types = [ "Voltage" "Current" "Power" ];
|
||||
phases = [ 1 2 3 ];
|
||||
phases = [ "1" "2" "3" ];
|
||||
in
|
||||
[ (genTopic "Power consumed" "/power/${sensor}/consumed" { inherit sensor; }) ] ++
|
||||
(lib.flatten (map (type: (map (phase: (genTopic "Power" "/power/${sensor}/L${toString phase}/${type}" { inherit sensor phase type; }) ) phases)) types));
|
||||
|
Loading…
Reference in New Issue
Block a user