Update rzl.js

This commit is contained in:
uwap 2018-06-24 16:38:04 +02:00 committed by GitHub
parent d93362edcb
commit 0e1b41f87c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -737,8 +737,8 @@ const config : Config = {
position: [400, 348], position: [400, 348],
icon: "remote", icon: "remote",
iconColor: (state) => //if any remote is low make icon red iconColor: (state) => //if any remote is low make icon red
["65536", "65542", "65546", "65547" ["65536", "65542", "65546", "65547"].some(
].some(x => state[tradfri_remote.low(x)] == "true") ? hex("#ff0000") : hex("#000000"), x => state[tradfri_remote.low(x)] == "true") ? hex("#ff0000") : hex("#000000"),
ui: [ ui: [
{ {
type: "progress", type: "progress",