From 2c9923264e318ad83ab9ceb4a13e47112dff0d4f Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 27 Aug 2021 22:45:16 +0200 Subject: ma ham: add keller button logic --- makefu/2configs/home/ham/automation/keller_buttons.nix | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 makefu/2configs/home/ham/automation/keller_buttons.nix (limited to 'makefu/2configs/home/ham/automation/keller_buttons.nix') diff --git a/makefu/2configs/home/ham/automation/keller_buttons.nix b/makefu/2configs/home/ham/automation/keller_buttons.nix new file mode 100644 index 00000000..598dc7df --- /dev/null +++ b/makefu/2configs/home/ham/automation/keller_buttons.nix @@ -0,0 +1,7 @@ +let + inherit (../lib) btn_cycle_light; +in { + services.home-assistant.config.automation = [ + (btn_cycle_light "light.keller_osram" "keller_btn1" 128) + ]; +} -- cgit v1.2.3