diff options
author | lassulus <lassulus@lassul.us> | 2020-05-16 17:21:34 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2020-05-16 17:21:34 +0200 |
commit | cf5b35b2df428495f5bf4dd89e3cab190f069080 (patch) | |
tree | 6984419cbcdf81036a40ded9222b525b72bc9857 /lass/2configs/hass/rooms/bett.nix | |
parent | f9c0888a4d63fb04a2d282eb25cf0fa3d3c9ac42 (diff) |
l hass: add more rooms & automations
Diffstat (limited to 'lass/2configs/hass/rooms/bett.nix')
-rw-r--r-- | lass/2configs/hass/rooms/bett.nix | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/lass/2configs/hass/rooms/bett.nix b/lass/2configs/hass/rooms/bett.nix index 21092ef5f..b5da9221c 100644 --- a/lass/2configs/hass/rooms/bett.nix +++ b/lass/2configs/hass/rooms/bett.nix @@ -1,27 +1,8 @@ { lib, ... }: -with import ../lib.nix; +with import ../lib.nix { inherit lib; }; { - lass.hass.config = lib.lists.fold lib.recursiveUpdate {} [ - { - #automation = [{ - # trigger = { - # platform = "mqtt"; - # topic = "zigbee/0x00178801086ac38c/action"; - # payload = "on-press"; - # }; - # action = { - # service = "light.turn_on"; - # data = { - # brightness = 150; - # rgb_color = [ 255 0 0 ]; - # entity_id = [ - # "light.0x0017880108327622_light" - # ]; - # }; - # }; - #}]; - } - (lightswitch sensors.bett lights.bett) + lass.hass.config = lib.mkMerge [ + (lightswitch switches.dimmer.bett lights.bett) ]; } |