2020-05-16 15:21:34 +00:00
|
|
|
{ lib, ... }:
|
|
|
|
with import ../lib.nix { inherit lib; };
|
|
|
|
|
|
|
|
{
|
2020-11-19 17:49:04 +00:00
|
|
|
services.home-assistant.config = lib.mkMerge [
|
2021-01-24 08:47:24 +00:00
|
|
|
(detect_movement "essen" sensors.movement.essen lights.essen 70)
|
|
|
|
(lightswitch "essen" switches.dimmer.essen lights.essen)
|
2020-05-16 15:21:34 +00:00
|
|
|
];
|
|
|
|
}
|