From 99ea11ac5ef62994a33616927d651c7a3b26f918 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 10 Jun 2022 21:37:49 +0200 Subject: ma: fix 22.05 evaluation errors --- makefu/2configs/home/ham/automation/check-in.nix | 19 ++++++++++++++++++- makefu/2configs/home/ham/default.nix | 2 +- 2 files changed, 19 insertions(+), 2 deletions(-) (limited to 'makefu/2configs/home') diff --git a/makefu/2configs/home/ham/automation/check-in.nix b/makefu/2configs/home/ham/automation/check-in.nix index 3a7ebe9ac..d589a6971 100644 --- a/makefu/2configs/home/ham/automation/check-in.nix +++ b/makefu/2configs/home/ham/automation/check-in.nix @@ -7,8 +7,25 @@ let in { services.home-assistant.config.input_boolean.felix_at_work.name = "Felix auf Arbeit"; + services.home-assistant.config.script.start_office_radio.sequence = + [ + { service = "media_player.play_media"; + data = { + media_content_id = "http://radio.lassul.us:8000/radio.mp3"; + media_content_type = "music"; + }; + target.entity_id = "media_player.office"; + } + ]; services.home-assistant.config.automation = [ + { service = "media_player.play_media"; + data = { + media_content_id = "http://radio.lassul.us:8000/radio.mp3"; + media_content_type = "music"; + }; + target.entity_id = "media_player.office"; + } { alias = "Push Check-in Button Felix with button"; trigger = [ { @@ -41,7 +58,7 @@ in [ { service = "media_player.play_media"; data = { - media_content_id = "https://radio.lassul.us/radio.mp3"; + media_content_id = "http://radio.lassul.us:8000/radio.mp3"; media_content_type = "music"; }; target.entity_id = "media_player.office"; diff --git a/makefu/2configs/home/ham/default.nix b/makefu/2configs/home/ham/default.nix index 31e7ba419..f63ba3434 100644 --- a/makefu/2configs/home/ham/default.nix +++ b/makefu/2configs/home/ham/default.nix @@ -59,7 +59,7 @@ in { })).override { extraPackages = p: [ (p.callPackage ./deps/dwdwfsapi.nix {}) - (p.callPackage ./signal-rest/pkg.nix {}) + # (p.callPackage ./signal-rest/pkg.nix {}) (p.callPackage ./deps/pykodi.nix {}) ]; }; -- cgit v1.2.3