Skip to content

[MyUplink] binding rejects negative values for System_System0Paralleladjustmentwhenheating #19483

@kloftas

Description

@kloftas

Expected Behavior

I try to set System_System0Paralleladjustmentwhenheating to a negative value, which is valid by the myuplink API
and is possible to set via the myuplink app on the mobile (and then the negative value shows up in the logs without Java exception)

Current Behavior

Validation error throws a Java exception and the value reverts back to last good value

Possible Solution

As the myuplink allows the range (-10,10), the Openhab validation should use the same value range

Steps to Reproduce (for Bugs)

  1. Try to update the System_System0Paralleladjustmentwhenheating to a negative value through Openhab

Context

I use this adjustment in a rule to change the indoor temperature depending on the current electricity price level

Your Environment

  • Version used: Openhab 5.1.0.M1, addon myuplink same version
  • Environment name and version: Running in docker on a Synology 220+ NAS
  • Operating System and version (desktop or mobile, Windows 10, Raspbian Buster, ...):

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn unexpected problem or unintended behavior of an add-on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions