20 lines
257 B
Nix
20 lines
257 B
Nix
let
|
|
airlevel = name: threshold: color:
|
|
{ alias = "${name} Air trigger ${color}";
|
|
trigger = [
|
|
];
|
|
action =
|
|
[
|
|
# create spark effect with color
|
|
];
|
|
};
|
|
in
|
|
{
|
|
# LED
|
|
switch = [
|
|
];
|
|
automation =
|
|
[
|
|
];
|
|
}
|