Skip to content

Commit

Permalink
WIP HS replace ikea home kit integration with dirigera custom component
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoriguchi committed Nov 10, 2024
1 parent 06b3d09 commit 795a946
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
- Get `API Token` from <https://discord.com/developers/applications> for `Home Assistant bot`
- ESPHome
- `airgradient-one.local`
- Homekit Device
- `DIRIGERA (Bridge)`
- IKEA Dirigera Hub Integration
- `gw2-3fb2ef61d5a6.local`
- Philips Hue
- `ecb5faac6110.local`
- Rename
Expand Down
13 changes: 12 additions & 1 deletion configuration/devices/headless/server/home-assistant/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,18 @@ in {
];
};

customComponents = [ pkgs.home-assistant-custom-components.localtuya ];
customComponents = [
pkgs.home-assistant-custom-components.localtuya

(pkgs.python3Packages.callPackage (import "${
pkgs.fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
rev = "097750eab077606b000f2c68d44225f488073cb8";
hash = "sha256-abRod/lwME8j9ADG44/FDD62ECN2qOkyqlgGp1FGalo=";
}
}/pkgs/servers/home-assistant/custom-components/dirigera_platform/package.nix") { })
];

config = {
homeassistant = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
alias = "Turn reduit closet lights on when sliding door is open";
trigger = [{
platform = "state";
entity_id = "binary_sensor.reduit_parasoll_contact";
entity_id = "binary_sensor.reduit_parasoll";
to = "on";
}];
action = [{
Expand All @@ -83,7 +83,7 @@
alias = "Turn reduit closet lights off when sliding door is closed";
trigger = [{
platform = "state";
entity_id = "binary_sensor.reduit_parasoll_contact";
entity_id = "binary_sensor.reduit_parasoll";
to = "off";
}];
action = [{
Expand Down

0 comments on commit 795a946

Please sign in to comment.