From 8b96dd41971e008a6a2527fe10c6670d2248117e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 6 Feb 2023 20:44:14 +0100 Subject: Apply statix suggestions --- nixos/modules/home-assistant.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/modules/home-assistant.nix') diff --git a/nixos/modules/home-assistant.nix b/nixos/modules/home-assistant.nix index bf98609..0aac9be 100644 --- a/nixos/modules/home-assistant.nix +++ b/nixos/modules/home-assistant.nix @@ -76,11 +76,11 @@ in { consumer = data_type: topics: { tags = {source = "bigclown";}; servers = ["tcp://localhost:1883"]; - topics = topics; + inherit topics; username = "telegraf"; password = "$MQTT_PASSWORD"; data_format = "value"; - data_type = data_type; + inherit data_type; topic_parsing = [ { topic = "bigclown/node/+/+/+/+"; -- cgit v1.2.3