mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 13:39:15 +03:00
nixos/tests/home-assistant: test module-based component loading
This commit is contained in:
parent
4a0b964b34
commit
4b47eaee4d
1 changed files with 5 additions and 1 deletions
|
@ -34,6 +34,11 @@ in {
|
||||||
doInstallCheck = false;
|
doInstallCheck = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
# tests loading components from the module
|
||||||
|
extraComponents = [
|
||||||
|
"wake_on_lan"
|
||||||
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
homeassistant = {
|
homeassistant = {
|
||||||
name = "Home";
|
name = "Home";
|
||||||
|
@ -69,7 +74,6 @@ in {
|
||||||
# set up a wake-on-lan switch to test capset capability required
|
# set up a wake-on-lan switch to test capset capability required
|
||||||
# for the ping suid wrapper
|
# for the ping suid wrapper
|
||||||
# https://www.home-assistant.io/integrations/wake_on_lan/
|
# https://www.home-assistant.io/integrations/wake_on_lan/
|
||||||
wake_on_lan = {};
|
|
||||||
switch = [ {
|
switch = [ {
|
||||||
platform = "wake_on_lan";
|
platform = "wake_on_lan";
|
||||||
mac = "00:11:22:33:44:55";
|
mac = "00:11:22:33:44:55";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue