summaryrefslogtreecommitdiffstats
path: root/lass/2configs/hass/rooms/bett.nix
blob: 48a1f72d7828c994b0e84e363be586f90d8c5f58 (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
28
29
30
31
32
33
34
35
36
37
38
39
{ lib, ... }:
with import ../lib.nix { inherit lib; };

{
  services.home-assistant.config = lib.mkMerge [
    (lightswitch switches.dimmer.bett lights.bett)
  ];

  # lass.hass.love = {
  #   resources = [{
  #     url = "https://raw.githubusercontent.com/ljmerza/light-entity-card/master/dist/light-entity-card.js.map";
  #     type = "js";
  #   }];
  #   views = [{
  #     title = "bett";
  #     cards = [
  #       {
  #         type = "markdown";
  #         title = "hello world";
  #         content = "This is just a test";
  #       }
  #       {
  #         type = "light";
  #         entity = "light.${lights.bett}";
  #       }
  #       {
  #         type = "custom:light-entity-card";
  #         entity = "light.${lights.bett}";
  #       }
  #       {
  #         type = "history-graph";
  #         entities = [
  #           "light.${lights.bett}"
  #         ];
  #       }
  #     ];
  #   }];
  # };
}