feat: add new bed switch and a new scene
This commit is contained in:
@@ -96,6 +96,7 @@ in
|
|||||||
./presense.nix
|
./presense.nix
|
||||||
./remote.nix
|
./remote.nix
|
||||||
./roborock.nix
|
./roborock.nix
|
||||||
|
./scenes
|
||||||
./scene-switch.nix
|
./scene-switch.nix
|
||||||
./shelly.nix
|
./shelly.nix
|
||||||
./sleep.nix
|
./sleep.nix
|
||||||
|
|||||||
@@ -7,6 +7,13 @@
|
|||||||
name = "enocean_switch_pc";
|
name = "enocean_switch_pc";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
"binary_sensor bed_1" = [
|
||||||
|
{
|
||||||
|
platform = "enocean";
|
||||||
|
id = [ 254 207 162 105 ];
|
||||||
|
name = "enocean_switch_bed_1";
|
||||||
|
}
|
||||||
|
];
|
||||||
sensor = [
|
sensor = [
|
||||||
{
|
{
|
||||||
name = "Bathroom HT";
|
name = "Bathroom HT";
|
||||||
|
|||||||
27
hosts/fw/modules/home-assistant/scenes/date.nix
Normal file
27
hosts/fw/modules/home-assistant/scenes/date.nix
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
services.home-assistant.config = {
|
||||||
|
scene = [
|
||||||
|
{
|
||||||
|
name = "Date Night";
|
||||||
|
entities = {
|
||||||
|
"light.livingroom_showcase" = {
|
||||||
|
state = "on";
|
||||||
|
brightness = 255;
|
||||||
|
rgb_color = [255 110 84];
|
||||||
|
};
|
||||||
|
"light.bar_led" = {
|
||||||
|
state = "on";
|
||||||
|
brightness = 255;
|
||||||
|
rgb_color = [255 110 84];
|
||||||
|
};
|
||||||
|
"light.shapes_1e51" = {
|
||||||
|
state = "on";
|
||||||
|
brightness = 124;
|
||||||
|
effect = "Date Night";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
6
hosts/fw/modules/home-assistant/scenes/default.nix
Normal file
6
hosts/fw/modules/home-assistant/scenes/default.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./date.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -54,7 +54,7 @@ in {
|
|||||||
../../utils/modules/lego/lego.nix
|
../../utils/modules/lego/lego.nix
|
||||||
# ../../utils/modules/borgbackup.nix
|
# ../../utils/modules/borgbackup.nix
|
||||||
|
|
||||||
./phpldapadmin.nix
|
# ./phpldapadmin.nix
|
||||||
./zammad.nix
|
./zammad.nix
|
||||||
./proxies.nix
|
./proxies.nix
|
||||||
./matrix.nix
|
./matrix.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user