Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

[fatekplc] Number item and value from discrete register #5040

Closed
slawekjaranowski opened this issue Jan 26, 2017 · 0 comments · Fixed by #5100
Closed

[fatekplc] Number item and value from discrete register #5040

slawekjaranowski opened this issue Jan 26, 2017 · 0 comments · Fixed by #5100
Labels
Milestone

Comments

@slawekjaranowski
Copy link
Contributor

slawekjaranowski commented Jan 26, 2017

Expected Behavior

Value read from discrete (relay) register should be represented by Number item as
1 (one) - for on state
0 (zero) - for off state

Current Behavior

Value read from discrete (relay) register by Number item is:
-1 (minus one) - for on state
0 (zero) - for off state

Context

Showing on state as minus one maybe confusing.

slawekjaranowski added a commit to slawekjaranowski/openhab that referenced this issue Feb 18, 2017
New version of library has change which fix openhab#5040

Signed-off-by: Slawomir Jaranowski <s.jaranowski@gmail.com> (github: slawekjaranowski)
@watou watou added the bug label Feb 19, 2017
@watou watou added this to the 1.9.1 milestone Feb 19, 2017
watou pushed a commit that referenced this issue Feb 19, 2017
New version of library has change which fix #5040

Signed-off-by: Slawomir Jaranowski <s.jaranowski@gmail.com> (github: slawekjaranowski)
watou pushed a commit to watou/openhab that referenced this issue Feb 19, 2017
New version of library has change which fix openhab#5040

Signed-off-by: Slawomir Jaranowski <s.jaranowski@gmail.com> (github: slawekjaranowski)
@kaikreuzer kaikreuzer modified the milestones: 1.9.1, 1.10.0 Jun 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants