From 9b39afa417d4626ba06d21cad392281364f92a1a Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 20 Jul 2020 17:24:09 +0200 Subject: ma bureautomation: fix matrix bot --- makefu/2configs/bureautomation/multi/matrix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makefu/2configs/bureautomation') diff --git a/makefu/2configs/bureautomation/multi/matrix.nix b/makefu/2configs/bureautomation/multi/matrix.nix index 85ba31986..babc5d29a 100644 --- a/makefu/2configs/bureautomation/multi/matrix.nix +++ b/makefu/2configs/bureautomation/multi/matrix.nix @@ -52,7 +52,7 @@ in { }; action = { service = "notify.matrix_notify"; - data_template.message = "Temp: {{states.sensor.easy2_dht22_temperature.state_with_unit}} Hum:{{states.sensor.easy2_dht22_humidity.state_with_unit}} airquality:{{states.sensor.air_quality.state_with_unit}}"; + data_template.message = "Temp: {{states.sensor.notizen_temperature.state_with_unit | replace (" ","")}}, Hum:{{states.sensor.notizen_humidity.state_with_unit | replace (" ","")}}, airquality:{{states.sensor.air_quality.state_with_unit}}"; }; } -- cgit v1.2.3 From d1989632cfd88a747c98c3a0edab45922fbf1884 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 20 Jul 2020 17:40:38 +0200 Subject: ma bam: fix matrix.nix syntax --- makefu/2configs/bureautomation/multi/matrix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makefu/2configs/bureautomation') diff --git a/makefu/2configs/bureautomation/multi/matrix.nix b/makefu/2configs/bureautomation/multi/matrix.nix index babc5d29a..4fcfe8da4 100644 --- a/makefu/2configs/bureautomation/multi/matrix.nix +++ b/makefu/2configs/bureautomation/multi/matrix.nix @@ -52,7 +52,7 @@ in { }; action = { service = "notify.matrix_notify"; - data_template.message = "Temp: {{states.sensor.notizen_temperature.state_with_unit | replace (" ","")}}, Hum:{{states.sensor.notizen_humidity.state_with_unit | replace (" ","")}}, airquality:{{states.sensor.air_quality.state_with_unit}}"; + data_template.message = ''Temp: {{states.sensor.notizen_temperature.state_with_unit | replace (" ","")}}, Hum:{{states.sensor.notizen_humidity.state_with_unit | replace (" ","")}}, airquality:{{states.sensor.air_quality.state_with_unit}}''; }; } -- cgit v1.2.3