use string instead of boolean
Because array-keys are strings and it seems that they can not be booleans
This commit is contained in:
parent
5c3b457511
commit
3a34f34558
2 changed files with 2 additions and 2 deletions
|
|
@ -703,7 +703,7 @@ const config : Config = {
|
|||
position: [400, 348],
|
||||
icon: "remote",
|
||||
iconColor: (state) =>
|
||||
(state[tradfri_remote.low("65536")] || state[tradfri_remote.low("65542")]) ? hex("#ff0000") : hex("#000000"),
|
||||
((state[tradfri_remote.low("65536")] == "true") || (state[tradfri_remote.low("65542")] == "true")) ? hex("#ff0000") : hex("#000000"),
|
||||
ui: [
|
||||
{
|
||||
type: "progress",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue