feat: add new bed switch and a new scene

This commit is contained in:
2025-06-22 14:25:50 +02:00
parent 03d3ff5712
commit 2712bd2197
5 changed files with 42 additions and 1 deletions

View File

@@ -96,6 +96,7 @@ in
./presense.nix
./remote.nix
./roborock.nix
./scenes
./scene-switch.nix
./shelly.nix
./sleep.nix

View File

@@ -7,6 +7,13 @@
name = "enocean_switch_pc";
}
];
"binary_sensor bed_1" = [
{
platform = "enocean";
id = [ 254 207 162 105 ];
name = "enocean_switch_bed_1";
}
];
sensor = [
{
name = "Bathroom HT";

View 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";
};
};
}
];
};
}

View File

@@ -0,0 +1,6 @@
{ pkgs, ... }:
{
imports = [
./date.nix
];
}

View File

@@ -54,7 +54,7 @@ in {
../../utils/modules/lego/lego.nix
# ../../utils/modules/borgbackup.nix
./phpldapadmin.nix
# ./phpldapadmin.nix
./zammad.nix
./proxies.nix
./matrix.nix