Make the linter happy

This commit is contained in:
Ranlvor 2020-10-17 16:50:21 +02:00
parent 263507871b
commit 3fd432b2d2
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E

View file

@ -214,7 +214,7 @@ const config: Config = {
...topicBulbNumber("office", "brightness"), ...topicBulbNumber("office", "brightness"),
...topicTasmota("speakerOffice", "sonoff-office-speaker"), ...topicTasmota("speakerOffice", "sonoff-office-speaker"),
...topicHomeBoolean("officeSwitchPollingActive", "switch/office/polling", ...topicHomeBoolean("officeSwitchPollingActive", "switch/office/polling",
true) true)
} }
], ],
controls: { controls: {
@ -583,12 +583,12 @@ const config: Config = {
name: "Ledstreifen Wohnzimmer", name: "Ledstreifen Wohnzimmer",
position: [450, 73], position: [450, 73],
icon: svg(icons.mdiWhiteBalanceIridescent), icon: svg(icons.mdiWhiteBalanceIridescent),
iconColor: ({ledstrip_livingroomState}) => iconColor: ({ledstripLivingroomState}) =>
(ledstrip_livingroomState === "on" ? hex("#00FF00") : hex("#000000")), (ledstripLivingroomState === "on" ? hex("#00FF00") : hex("#000000")),
ui: ([ ui: ([
{ {
type: "toggle", type: "toggle",
topic: "ledstrip_livingroomState", topic: "ledstripLivingroomState",
text: "Ein/Ausschalten", text: "Ein/Ausschalten",
icon: svg(icons.mdiPower) icon: svg(icons.mdiPower)
}, },