summaryrefslogtreecommitdiffstats
path: root/lass/2configs/hass/rooms/essen.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-05-16 17:21:34 +0200
committerlassulus <lassulus@lassul.us>2020-05-16 17:21:34 +0200
commitcf5b35b2df428495f5bf4dd89e3cab190f069080 (patch)
tree6984419cbcdf81036a40ded9222b525b72bc9857 /lass/2configs/hass/rooms/essen.nix
parentf9c0888a4d63fb04a2d282eb25cf0fa3d3c9ac42 (diff)
l hass: add more rooms & automations
Diffstat (limited to 'lass/2configs/hass/rooms/essen.nix')
-rw-r--r--lass/2configs/hass/rooms/essen.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/lass/2configs/hass/rooms/essen.nix b/lass/2configs/hass/rooms/essen.nix
new file mode 100644
index 000000000..f74996154
--- /dev/null
+++ b/lass/2configs/hass/rooms/essen.nix
@@ -0,0 +1,9 @@
+{ lib, ... }:
+with import ../lib.nix { inherit lib; };
+
+{
+ lass.hass.config = lib.mkMerge [
+ (detect_movement sensors.movement.essen lights.essen 10)
+ (lightswitch switches.dimmer.essen lights.essen)
+ ];
+}