Skip to content

Commit

Permalink
Show indicator on all sliders
Browse files Browse the repository at this point in the history
  • Loading branch information
CoryCharlton committed Dec 17, 2024
1 parent 0fb45bb commit 0be5cf0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cards/cover-card/controls/cover-position-control.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export class CoverPositionControl extends LitElement {
.value=${position}
.disabled=${!isAvailable(this.entity)}
.showActive=${true}
.showIndicator=${true}
@change=${this.onChange}
@current-change=${this.onCurrentChange}
/>
Expand Down
1 change: 1 addition & 0 deletions src/cards/fan-card/controls/fan-percentage-control.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export class FanPercentageControl extends LitElement {
.disabled=${!isAvailable(this.entity)}
.inactive=${!isActive(this.entity)}
.showActive=${true}
.showIndicator=${true}
@change=${this.onChange}
@current-change=${this.onCurrentChange}
step=${computePercentageStep(this.entity)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export class HumidifierHumidityControl extends LitElement {
.disabled=${!isAvailable(this.entity)}
.inactive=${!isActive(this.entity)}
.showActive=${true}
.showIndicator=${true}
.min=${min}
.max=${max}
@change=${this.onChange}
Expand Down
1 change: 1 addition & 0 deletions src/cards/light-card/controls/light-brightness-control.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export class LightBrighnessControl extends LitElement {
.disabled=${!isAvailable(this.entity)}
.inactive=${!isActive(this.entity)}
.showActive=${true}
.showIndicator=${true}
@change=${this.onChange}
@current-change=${this.onCurrentChange}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export class MediaPlayerVolumeControls extends LitElement {
.showActive=${true}
.min=${0}
.max=${100}
.showIndicator=${true}
@change=${this.handleSliderChange}
@current-change=${this.handleSliderCurrentChange}
/>`
Expand Down
1 change: 1 addition & 0 deletions src/cards/number-card/controls/number-value-control.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export class NumberValueControl extends LitElement {
.disabled=${!isAvailable(this.entity)}
.inactive=${!isActive(this.entity)}
.showActive=${true}
.showIndicator=${true}
.min=${this.entity.attributes.min}
.max=${this.entity.attributes.max}
.step=${this.entity.attributes.step}
Expand Down

0 comments on commit 0be5cf0

Please sign in to comment.