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
|
|
@ -73,7 +73,7 @@ export const tradfri_remote = {
|
|||
state: `/service/openhab/out/tradfri_0830_gwb8d7af2b448f_${remote_id}_battery_low/state`,
|
||||
command: ``,
|
||||
defaultValue: "OFF",
|
||||
values: { [true]: "ON", [false]: "OFF" }
|
||||
values: { true: "ON", false: "OFF" }
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue