feat: add new bed switch and a new scene
This commit is contained in:
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
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user