Set minimum brightness of slider to 1%

Closes #3693
This commit is contained in:
Ian Richardson 2019-09-12 13:38:18 -05:00
parent a2c2f6a1e2
commit 493198f530

View File

@ -97,6 +97,7 @@ export class HuiLightCard extends LitElement implements LovelaceCard {
${supportsFeature(stateObj, SUPPORT_BRIGHTNESS)
? html`
<round-slider
min="1"
.value=${brightness}
@value-changing=${this._dragEvent}
@value-changed=${this._setBrightness}