From 3c2c66901119ab003f2cab80d0352c0e9f3d4d65 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 17 Mar 2021 20:04:13 +0100 Subject: ma bureautomation: fix runtime issues --- makefu/2configs/bureautomation/sensor/outside.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'makefu/2configs/bureautomation/sensor/outside.nix') diff --git a/makefu/2configs/bureautomation/sensor/outside.nix b/makefu/2configs/bureautomation/sensor/outside.nix index b5d25ecd..e7b4d9a7 100644 --- a/makefu/2configs/bureautomation/sensor/outside.nix +++ b/makefu/2configs/bureautomation/sensor/outside.nix @@ -20,10 +20,13 @@ units = "si" ; scan_interval = "00:30:00"; } - { platform = "luftdaten"; - name = "Ditzingen"; - sensorid = "5341"; - monitored_conditions = [ "P1" "P2" ]; - } ]; + services.home-assistant.config.luftdaten = { + sensor_id = "26237"; + show_on_map = true; + sensors.monitored_conditions = [ + "P1" + "P2" + ]; + }; } -- cgit v1.2.3