summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/bureautomation/script/multi_blink.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-06-28 22:01:27 +0200
committermakefu <github@syntax-fehler.de>2019-06-28 22:01:41 +0200
commit4ecfee1606645c14dc258c34e087342306f698b5 (patch)
treec3d3e5f53e2cd7f24573d995367dc5a91d1e9e80 /makefu/2configs/bureautomation/script/multi_blink.nix
parent32a808f9ebfb02877e71f75b38541533c8ea1bdd (diff)
ma bureautomation: add 10h timers for all participants
move into combination folders, fix mittagessen, add working tts with random output
Diffstat (limited to 'makefu/2configs/bureautomation/script/multi_blink.nix')
-rw-r--r--makefu/2configs/bureautomation/script/multi_blink.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/makefu/2configs/bureautomation/script/multi_blink.nix b/makefu/2configs/bureautomation/script/multi_blink.nix
index bb28dd46f..5076111ac 100644
--- a/makefu/2configs/bureautomation/script/multi_blink.nix
+++ b/makefu/2configs/bureautomation/script/multi_blink.nix
@@ -1,5 +1,7 @@
{lib, ... }:
let
+ # TODO: flash with different delay
+
# let an entity blink for X times with a delay of Y milliseconds
flash_entity = { entity, delay ? 500, count ? 4, alias ? "${entity}_blink_${toString count}_${toString delay}" }:
{
@@ -34,4 +36,10 @@ in {
count = 1;
alias = "blitz for 10 seconds";
});
+ schlechteluft = (flash_entity {
+ entity = "switch.bauarbeiterlampe";
+ alias = "Schlechte Luft Lampe 5 secs";
+ delay = 5000;
+ count = 1;
+ });
}