diff options
Diffstat (limited to 'krebs/2configs/shack/glados/sensors')
-rw-r--r-- | krebs/2configs/shack/glados/sensors/power.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/krebs/2configs/shack/glados/sensors/power.nix b/krebs/2configs/shack/glados/sensors/power.nix index 940888c7d..1aa250a19 100644 --- a/krebs/2configs/shack/glados/sensors/power.nix +++ b/krebs/2configs/shack/glados/sensors/power.nix @@ -2,6 +2,7 @@ let power_x = name: phase: { platform = "mqtt"; name = "${phase} ${name}"; + # device_class = "power"; state_topic = "/power/total/${phase}/${name}"; availability_topic = "/power/lwt"; payload_available = "Online"; @@ -10,6 +11,7 @@ let power_consumed = { platform = "mqtt"; name = "Power Consumed"; + #device_class = "power"; state_topic = "/power/total/consumed"; availability_topic = "/power/lwt"; payload_available = "Online"; |