diff options
author | makefu <github@syntax-fehler.de> | 2020-02-24 16:56:42 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-02-24 16:56:42 +0100 |
commit | bcbc9ad90304a7bc86018e1fdb08c12feb33f17f (patch) | |
tree | 26db73187f25b5d67c6ac5088af823498a530d92 /makefu/2configs/ham/multi | |
parent | 910686f65623aaccfcf55b91b538441bfbbec5d9 (diff) |
ma ham/esphome: rip, replaced with autodiscovery
Diffstat (limited to 'makefu/2configs/ham/multi')
-rw-r--r-- | makefu/2configs/ham/multi/esphome.nix | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/makefu/2configs/ham/multi/esphome.nix b/makefu/2configs/ham/multi/esphome.nix deleted file mode 100644 index 8ca12d899..000000000 --- a/makefu/2configs/ham/multi/esphome.nix +++ /dev/null @@ -1,45 +0,0 @@ -# provides: -# switch -# automation -# binary_sensor -# sensor -# input_select -# timer -let - inherit (import ../lib) esphome; - sonoff_s20 = host: { - sensor = [ - (esphome.ip { inherit host;}) - (esphome.wifi { inherit host;}) - (esphome.temp { inherit host;}) - (esphome.hum { inherit host;}) - ]; - binary_sensor = [ - (esphome.btn { inherit host;}) - ]; - light = [ - (esphome.monoled { inherit host;}) - ]; - switch = [ - (esphome.relay { inherit host;}) - (esphome.restart { inherit host;}) - ]; - }; - dusche = sonoff_s20 "dusche_plug"; - schlafzimmer = sonoff_s20 "schlafzimmer_plug"; -in { - sensor = [ - (esphome.pressure {host = "dusche_plug";}) - ] - ++ dusche.sensor - ++ schlafzimmer.sensor; - binary_sensor = - dusche.binary_sensor - ++ schlafzimmer.binary_sensor; - light = - dusche.light - ++ schlafzimmer.light; - switch = - dusche.switch - ++ schlafzimmer.switch; -} |