Skip to content

[Bug]: Configuration isn't mapping numeric values to choices when manual entry is allowed #282

@fabnavigator

Description

@fabnavigator

What happened?

I have two types of smart outlets and they both behave the same way. They have configuration parameters that are disabled when the value is zero. In the UI, there is a "Set Disable" button, and when you press it the result says "Disable". After a reinterview, the value is zero. It is not displayed as "Disable". I would like it to say "Disable" after the reinterview, not zero.

This is only when there is a manual entry option. When the configuration just has choices, it works as expected.

Disable bug

How to reproduce?

See attachment above to reproduce. You must have a node with choices, and also manual entry.

Version

8.2.0

Node-RED Version

3.0.2

What hardware are you seeing the problem on?

Raspberry Pi

Relevant Z-Wave-JS log as a text file

zwave-js.log

Metadata

Metadata

Labels

bugSomething isn't workingnever-staleNever stale

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions