Skip to content

Default Min Brightness of Bulbs #75

Open
@franckentien

Description

@franckentien

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions