summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/ham/lib
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/ham/lib')
-rw-r--r--makefu/2configs/ham/lib/default.nix44
1 files changed, 0 insertions, 44 deletions
diff --git a/makefu/2configs/ham/lib/default.nix b/makefu/2configs/ham/lib/default.nix
deleted file mode 100644
index 45c86138b..000000000
--- a/makefu/2configs/ham/lib/default.nix
+++ /dev/null
@@ -1,44 +0,0 @@
-let
- prefix = "/ham";
-in
-{
- inherit prefix;
- say = let
- # returns a list of actions to be performed on an mpd to say something
- tts = { message, entity }:
- [
- {
- service = "media_player.turn_on";
- data.entity_id = entity;
- }
- {
- service = "media_player.play_media";
- data = {
- entity_id = entity;
- media_content_type = "playlist";
- media_content_id = "ansage";
- };
- }
- {
- service = "media_player.turn_on";
- data.entity_id = entity;
- }
- { delay.seconds = 8; }
- {
- service = "tts.say";
- entity_id = entity;
- data_template = {
- inherit message;
- language = "de";
- };
- }
- ];
- in
- {
- firetv = message: tts {
- inherit message;
- entity = "firetv";
- };
- };
- zigbee.prefix = "/ham/zigbee";
-}