iobroker-community-adapters / ioBroker.harmony

Logitech Harmony Adapter for ioBroker
MIT License
14 stars 15 forks source link

Button mit type number #68

Open dslraser opened 3 years ago

dslraser commented 3 years ago

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 commented 3 years ago

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.