From 550e0c7479a3257b6e4fea46d78b75d906afccca Mon Sep 17 00:00:00 2001 From: Ranlvor Date: Sat, 17 Oct 2020 19:06:49 +0200 Subject: [PATCH] Fix spelling error the linter tempted me to do --- config/uwap-home/index.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/config/uwap-home/index.js b/config/uwap-home/index.js index b0118af..a9e8da3 100644 --- a/config/uwap-home/index.js +++ b/config/uwap-home/index.js @@ -583,12 +583,14 @@ const config: Config = { name: "Ledstreifen Wohnzimmer", position: [450, 73], icon: svg(icons.mdiWhiteBalanceIridescent), - iconColor: ({ledstripLivingroomState}) => - (ledstripLivingroomState === "on" ? hex("#00FF00") : hex("#000000")), + /* eslint-disable camelcase */ + iconColor: ({ledstrip_livingroomState}) => + (ledstrip_livingroomState === "on" ? hex("#00FF00") : hex("#000000")), + /* eslint-enable camelcase */ ui: ([ { type: "toggle", - topic: "ledstripLivingroomState", + topic: "ledstrip_livingroomState", text: "Ein/Ausschalten", icon: svg(icons.mdiPower) },