From 8917402888ef542980ac2811dbd3b02257318ee3 Mon Sep 17 00:00:00 2001 From: uwap Date: Sun, 4 Oct 2020 19:00:52 +0200 Subject: [PATCH] Fix whirlpool type comparison --- config/rzl/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/rzl/index.js b/config/rzl/index.js index cee8554..ef8f322 100644 --- a/config/rzl/index.js +++ b/config/rzl/index.js @@ -633,7 +633,7 @@ const config: Config = { position: [1413, 500], icon: mdi("pool"), iconColor: ({whirlpoolBubbles}) => - (whirlpoolBubbles > 0 ? hex("#00ff00") : hex("#000000")), + (parseInt(whirlpoolBubbles) > 0 ? hex("#00ff00") : hex("#000000")), ui: [ { type: "text",