homeassistant: migrate to basnijholt/adaptive-lighting #297
@ -44,7 +44,6 @@ in
|
|||||||
"bluetooth"
|
"bluetooth"
|
||||||
"default_config"
|
"default_config"
|
||||||
"esphome"
|
"esphome"
|
||||||
"flux"
|
|
||||||
"google_assistant"
|
"google_assistant"
|
||||||
"homekit"
|
"homekit"
|
||||||
"met"
|
"met"
|
||||||
@ -54,6 +53,9 @@ in
|
|||||||
"sun"
|
"sun"
|
||||||
"switchbot"
|
"switchbot"
|
||||||
];
|
];
|
||||||
|
customComponents = with pkgs.home-assistant-custom-components; [
|
||||||
|
adaptive_lighting
|
||||||
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
default_config = { };
|
default_config = { };
|
||||||
@ -88,25 +90,19 @@ in
|
|||||||
|
|
||||||
bluetooth = { };
|
bluetooth = { };
|
||||||
|
|
||||||
switch = [
|
adaptive_lighting = {
|
||||||
{
|
lights = [
|
||||||
platform = "flux";
|
"light.bedroom_lamp"
|
||||||
start_time = "07:00";
|
"light.bedroom_light"
|
||||||
stop_time = "23:59";
|
"light.cubby_light"
|
||||||
mode = "mired";
|
"light.desk_lamp"
|
||||||
disable_brightness_adjust = true;
|
"light.hallway_light"
|
||||||
lights = [
|
"light.living_room_lamp"
|
||||||
"light.bedroom_lamp"
|
"light.living_room_light"
|
||||||
"light.bedroom_light"
|
"light.wardrobe_light"
|
||||||
"light.cubby_light"
|
];
|
||||||
"light.desk_lamp"
|
min_sunset_time = "21:00";
|
||||||
"light.hallway_light"
|
};
|
||||||
"light.living_room_lamp"
|
|
||||||
"light.living_room_light"
|
|
||||||
"light.wardrobe_light"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
light = [
|
light = [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user