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

Default Min Brightness of Bulbs #75

Open
franckentien opened this issue Feb 18, 2018 · 1 comment
Open

Default Min Brightness of Bulbs #75

franckentien opened this issue Feb 18, 2018 · 1 comment

Comments

@franckentien
Copy link

The default value of brightness of my bulbs was both at 254 and not a 1 & 254:

image

I have look in the code and in the templates/home.html you have write 1 at min value.

<!-- Min Brightness -->
            <div class="setting-wrapper-container" style="max-width: 100%; padding-bottom: 1em;">
                <div class="setting-wrapper-title">Min Brightness</div>

                <div class="bulb-bri-slider-output">
                    <output id="bulb-{{ light[0] }}-min-bri-slider-output">{{ light[9] }}</output>
                    <div class="bulb-slider-max">/ 254</div>
                </div>
                <input id="bulb-{{ light[0] }}-min-bri-slider" class="slider sli-min" type="range" min="1" max="{{ light[8] }}" value="{{ light[9] }}" style="max-width: 90%;">
            </div>

I don't understand why i got this bug.

Step to reproduce: refresh the page and clic on the parameter button of a blub.

Franck

@kershner
Copy link
Owner

Related to #83

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

2 participants