Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch allows "Write" converter function only #247

Open
peperoni60 opened this issue Apr 5, 2023 · 0 comments
Open

Switch allows "Write" converter function only #247

peperoni60 opened this issue Apr 5, 2023 · 0 comments

Comments

@peperoni60
Copy link

Describe the bug
If you add a new switch in the device manager, and you want to add a converter function, only "Write" is possible whereas "Read" should be the only possibility. In consequence, the alias doesn't work. You can change that, however, via objects by modifying the datapoint, check "use converter function", and adding the converter function to "read". Then the alias works as expected (clicking "On" on the switch switches the datapoint to "On", clicking "Off" switches to "Off".

To Reproduce
Steps to reproduce the behavior:

  1. Go to "Devices"
  2. Add a Switch to the devices list
  3. Use the physical switch
  4. See nothing happens

Expected behavior
When clicking the Off and On buttons on the physical switch this should be reflected in the alias.

Screenshots & Logfiles
grafik

Versions:

  • Adapter version: 1.1.2
  • JS-Controller version: 4.0.24
  • Node version: v16.19.1
  • Operating system: docker (buanet/iobroker:latest)

Additional context

@peperoni60 peperoni60 changed the title Switch allows "Write" converter fiunction only Switch allows "Write" converter function only Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant