diff options
author | makefu <github@syntax-fehler.de> | 2019-09-06 01:07:20 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-09-06 01:08:32 +0200 |
commit | fce2c4275caf7df064fb13a4280291a9aefaef1f (patch) | |
tree | b74e266f9b3776ff5b01e45ef68778fc1119bc61 /krebs/2configs/shack/glados/sensors | |
parent | 39b1e08ad1358cc54527e9b87cb5fbc01349b62e (diff) |
shack/glados: init shackopen and auto watering
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"; |