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/multi/shackopen.nix | |
parent | 39b1e08ad1358cc54527e9b87cb5fbc01349b62e (diff) |
shack/glados: init shackopen and auto watering
Diffstat (limited to 'krebs/2configs/shack/glados/multi/shackopen.nix')
-rw-r--r-- | krebs/2configs/shack/glados/multi/shackopen.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/krebs/2configs/shack/glados/multi/shackopen.nix b/krebs/2configs/shack/glados/multi/shackopen.nix new file mode 100644 index 000000000..354405d06 --- /dev/null +++ b/krebs/2configs/shack/glados/multi/shackopen.nix @@ -0,0 +1,23 @@ +{ + binary_sensor = [ + { platform = "mqtt"; + name = "Portal Lock"; + device_class = "door"; + state_topic = "portal/gateway/status"; + availability_topic = "portal/gateway/lwt"; + payload_on = "open"; + payload_off = "closed"; + payload_available = "online"; + payload_not_available = "offline"; + } + ]; + sensor = [ + { platform = "mqtt"; + name = "Keyholder"; + state_topic = "portal/gateway/keyholder"; + availability_topic = "portal/gateway/lwt"; + payload_available = "online"; + payload_not_available = "offline"; + } + ]; +} |