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

Button mit type number #68

Open
dslraser opened this issue Jan 20, 2021 · 1 comment
Open

Button mit type number #68

dslraser opened this issue Jan 20, 2021 · 1 comment
Labels

Comments

@dslraser
Copy link

Alle Button haben als type : number ?
Forum:
https://forum.iobroker.net/post/563198

Bitte anpassen:
https://www.iobroker.net/#de/documentation/dev/stateroles.md

@foxriver76
Copy link
Member

Naja, es ist eigentlich nicht ganz konform, ist aber on-purpose so damals entwickelt worden und wäre jetzt ziemlich breaking, da das setzen einer number tatsächlich einen Sinn hat:

Set 'Instance.Hub_Name.Device_Name.command' to a number x to send command for x milliseconds. A value smaller than 250 probably will send the command only once. After sending the state will be set to 0 again.

Wenn dann würde ich sagen, sollten die States keine Buttons mehr sein, was allerdings die User auch verwirren wird. Muss man sich mal in einer Breaking Version anschauen.

@mcm1957 mcm1957 added the bug label Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants