testing
This commit is contained in:
@@ -13,7 +13,7 @@ let
|
||||
yamlFormat = pkgs.formats.yaml { };
|
||||
|
||||
mkLightswitchAutomation = name: lscfg: {
|
||||
id = toString lscfg.id;
|
||||
"${toString lscfg.id}" = {
|
||||
alias = lscfg.alias;
|
||||
description = lscfg.description;
|
||||
|
||||
@@ -159,6 +159,7 @@ let
|
||||
|
||||
mode = "single";
|
||||
};
|
||||
};
|
||||
|
||||
# Generate all automations as list
|
||||
lightswitchAutomations = mapAttrsToList mkLightswitchAutomation cfg.lightswitch;
|
||||
|
||||
Reference in New Issue
Block a user