blob: 026c5722c220e155c3220e678eec4b8954a52aa1 (
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 "bett" 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}"
# ];
# }
# ];
# }];
# };
}
|