Skip to content

Commit

Permalink
Add Lego Chrysanthemum to hs
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoriguchi committed Jan 11, 2025
1 parent 18408f2 commit c0de9e3
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
12 changes: 12 additions & 0 deletions configuration/devices/headless/server/home-assistant/dirigera.nix
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,18 @@
target.entity_id = "switch.lego_bonsai";
};
};
lego_chrysanthemum = {
friendly_name = "Lego Chrysanthemum";
value_template = "{{ states('switch.lego_chrysanthemum') }}";
turn_on = {
service = "switch.turn_on";
target.entity_id = "switch.lego_chrysanthemum";
};
turn_off = {
service = "switch.turn_off";
target.entity_id = "switch.lego_chrysanthemum";
};
};
living_room_standing_lamp = {
friendly_name = "Living room standing lamp";
value_template = "{{ states('switch.living_room_standing_lamp') }}";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
platform = "group";
name = "Group Lego";
entities = [ "light.lego_bonsai" ];
entities = [ "light.lego_bonsai" "light.lego_chrysanthemum" ];
}

{
Expand Down
14 changes: 10 additions & 4 deletions configuration/devices/headless/server/home-assistant/lovelace.nix
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,16 @@ in {

open = true;

entities = [{
name = "Bonsai";
entity = "light.lego_bonsai";
}];
entities = [
{
name = "Bonsai";
entity = "light.lego_bonsai";
}
{
name = "Chrysanthemum";
entity = "light.lego_chrysanthemum";
}
];
}
{ type = "divider"; }
{
Expand Down

0 comments on commit c0de9e3

Please sign in to comment.