diff options
author | Jeschli <jeschli@gmail.com> | 2020-04-22 12:35:00 +0200 |
---|---|---|
committer | Jeschli <jeschli@gmail.com> | 2020-04-22 12:35:00 +0200 |
commit | 3c0496ec1a774c539cf10311bff821ff07ddbf01 (patch) | |
tree | 9fbafe92c3f26571bb562255d86ffcc2975216ea /lass/2configs/hass/rooms | |
parent | 119a7cfe5a87323ec7231c263abc444229564a1c (diff) | |
parent | cabaf519b5970cbe5c1e57832d3bd12da4f47371 (diff) |
Merge branch 'master' of https://cgit.lassul.us/stockholm
Diffstat (limited to 'lass/2configs/hass/rooms')
-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) + ]; +} |