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 Oct 29, 2024
1 parent 93f3cf5 commit 227b00e
Show file tree
Hide file tree
Showing 3 changed files with 17 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
14 changes: 13 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,19 @@ 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 = "b8131b6de78908e4f641205d1b0ad913117fbd6e";
hash = "sha256-5h+k4S3T0xmgk12F6ROFedq/jKTVbnuev2LA5gmjHD0=";
}
}/pkgs/servers/home-assistant/custom-components/dirigera_platform/package.nix") { }).overrideAttrs
(_: { dontCheckManifest = true; }))
];

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 227b00e

Please sign in to comment.