summaryrefslogtreecommitdiffstats
path: root/lass/2configs/hass/rooms/bett.nix
blob: 21092ef5fb60cc8a3ec3c748e1a8f583c90d8600 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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)
  ];
}