diff options
author | lassulus <lassulus@lassul.us> | 2020-04-21 14:21:17 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2020-04-21 14:21:17 +0200 |
commit | bf4b5ef13c8f232401d5def002ab0c6e337d4e62 (patch) | |
tree | f473e218c7f0995656546cf25cc51b44b98941a4 /lass/2configs/hass/rooms/bett.nix | |
parent | e3b37e2bc0b4315254969a622a74120518d59eb0 (diff) |
l: split hass config
Diffstat (limited to 'lass/2configs/hass/rooms/bett.nix')
-rw-r--r-- | lass/2configs/hass/rooms/bett.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lass/2configs/hass/rooms/bett.nix b/lass/2configs/hass/rooms/bett.nix new file mode 100644 index 000000000..21092ef5f --- /dev/null +++ b/lass/2configs/hass/rooms/bett.nix @@ -0,0 +1,27 @@ +{ lib, ... }: +with import ../lib.nix; + +{ + 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) + ]; +} |