2020-04-21 12:21:17 +00:00
|
|
|
{ lib, ... }:
|
2020-05-16 15:21:34 +00:00
|
|
|
with import ../lib.nix { inherit lib; };
|
2020-04-21 12:21:17 +00:00
|
|
|
|
|
|
|
{
|
2020-11-19 17:49:04 +00:00
|
|
|
services.home-assistant.config = lib.mkMerge [
|
2020-05-16 15:21:34 +00:00
|
|
|
(lightswitch switches.dimmer.bett lights.bett)
|
2020-04-21 12:21:17 +00:00
|
|
|
];
|
2020-09-27 13:36:01 +00:00
|
|
|
|
2020-11-19 17:49:04 +00:00
|
|
|
# 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}"
|
|
|
|
# ];
|
|
|
|
# }
|
|
|
|
# ];
|
|
|
|
# }];
|
|
|
|
# };
|
2020-04-21 12:21:17 +00:00
|
|
|
}
|