summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/ham/automation/keller_buttons.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/home/ham/automation/keller_buttons.nix')
-rw-r--r--makefu/2configs/home/ham/automation/keller_buttons.nix7
1 files changed, 7 insertions, 0 deletions
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 000000000..598dc7df0
--- /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)
+ ];
+}