From 4539a171fcd607d239a0bdb83ce0572d5f2d847d Mon Sep 17 00:00:00 2001 From: Hans Klunder Date: Sun, 27 Oct 2024 16:41:13 +0100 Subject: [PATCH] fix formatting --- client/src/Forecast.svelte | 32 ++++++++++++++++---------------- client/src/mqttclient.js | 20 ++++++++++---------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/client/src/Forecast.svelte b/client/src/Forecast.svelte index a4c6c1c..9c974dd 100644 --- a/client/src/Forecast.svelte +++ b/client/src/Forecast.svelte @@ -1,23 +1,23 @@ diff --git a/client/src/mqttclient.js b/client/src/mqttclient.js index f2d1c0a..65960e4 100644 --- a/client/src/mqttclient.js +++ b/client/src/mqttclient.js @@ -17,16 +17,16 @@ const mqttDemo = { this.publish( "data/forecast/set", JSON.stringify({ - date: '2024-10-27T15:08:03.000Z', - weer: 'halfbewolkt', - max_temp: 16, - min_tem: 9, - windbft: 1, - windr: 'ZW', - neersl_perc_dag: 0, - zond_perc_dag: 47 - }) - ); + date: "2024-10-27T15:08:03.000Z", + weer: "halfbewolkt", + max_temp: 16, + min_tem: 9, + windbft: 1, + windr: "ZW", + neersl_perc_dag: 0, + zond_perc_dag: 47, + }), + ); this.publish("config/auto/set", "on"); this.publish("config/sunblock/set", "on"); this.publish("config/useweather/set", "on");