Update rzl.js
This commit is contained in:
parent
d93362edcb
commit
0e1b41f87c
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue