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 "nass" sensors.movement.nass lights.nass 100)
|
|
|
|
(lightswitch "nass" switches.dimmer.nass lights.nass)
|
2020-05-16 15:21:34 +00:00
|
|
|
];
|
|
|
|
}
|
|
|
|
|