From 34b220961fffac0629c66a876d169e58ded9a0df Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 18 Nov 2020 20:50:43 +0100 Subject: ma bureautomation: move to 20.09 style imports --- 2configs/bureautomation/binary_sensor/buttons.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to '2configs/bureautomation/binary_sensor/buttons.nix') diff --git a/2configs/bureautomation/binary_sensor/buttons.nix b/2configs/bureautomation/binary_sensor/buttons.nix index e23c4a362..20590a6b3 100644 --- a/2configs/bureautomation/binary_sensor/buttons.nix +++ b/2configs/bureautomation/binary_sensor/buttons.nix @@ -12,6 +12,9 @@ let # expire_after = "5"; #expire after 5 seconds qos = 1; }; -in [ - (tasmota_button "RedButton" "redbutton") -] +in { + services.home-assistant.config.binary_sensor = + [ + (tasmota_button "RedButton" "redbutton") + ]; +} -- cgit v1.2.3 [cgit] Unable to lock slot /tmp/cgit/1e200000.lock: No such file or directory (2)