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

the mode enum is apparently not a "correct" way to model an integer range plus values #3

Open
SvenDowideit opened this issue Jan 18, 2023 · 0 comments

Comments

@SvenDowideit
Copy link

SvenDowideit commented Jan 18, 2023

It' been a long time since I played with this, but

homieiot/convention#216 was just closed with some extra details being merged into the documentation.

unfortuanatly advertise("mode").setDatatype("enum").setFormat("0:59, next, prev")

means that there are 3 string literals (including spaces) 0:59 and _next and prev_ (where _ denotes a space)

see https://github.com/homieiot/convention/pull/244/files#diff-5832155aa0bf161c072a95f6a518a1dc7a2edcef7565d6c3c92b5d8d133c3062R322

I'm not sure what the most helpful resolution (wrt the integer range) for you us tho :/

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