nixos/tests/home-assistant: test module-based component loading

This commit is contained in:
Martin Weinelt 2022-01-30 02:30:51 +01:00
parent 4a0b964b34
commit 4b47eaee4d
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -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";