-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Cannot set Width2 for seconds to 0 #6152
Comments
From the code I see only Width1 could be set to 0 which in turn would mean the width equals all leds. Other widths start at 1 until 32. I'll look for a way to add your expectation which btw will need more coding than just adding the test for zero as input... |
Should we change the wiki documentation in the mean time then so that the documentation matches the code? https://github.com/arendst/Sonoff-Tasmota/wiki/Commands |
wiki - done |
Add option 0 to Width1 (Marker), Width2 (Second), Width3 (Minute) and Width4 (Hour) disabling display (#6152)
Closing issue as the enhancement was added by Theo. Thanks 👍 |
Sweet - I just tested and it works. Thank you for the phenomenally fast fix @arendst :) :) |
I also just updated the wiki to reflect the new |
BUG DESCRIPTION
Cannot disable the second hand of the clock. I tried this by setting
Width2 0
which should be possible and should disable based on the documentation.REQUESTED INFORMATION
Make sure these boxes are checked before submitting your issue. Thank you
FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED
status 0
:TO REPRODUCE
When trying to disable the second "hand" of the clock by setting the pixel width to zero:
It is ignored and the current width is echoed.
Setting to a number larger than 1 works:
EXPECTED BEHAVIOUR
I would expect:
The text was updated successfully, but these errors were encountered: