diff --git a/src/components/ha-labeled-slider.html b/src/components/ha-labeled-slider.html index d7cdd8ef1b..170b474407 100644 --- a/src/components/ha-labeled-slider.html +++ b/src/components/ha-labeled-slider.html @@ -33,7 +33,7 @@
[[caption]]
- +
@@ -45,21 +45,11 @@ class HaLabeledSlider extends Polymer.Element { static get properties() { return { - caption: { - type: String, - }, - - icon: { - type: String, - }, - - min: { - type: Number, - }, - - max: { - type: Number, - }, + caption: String, + icon: String, + min: Number, + max: Number, + ignoreBarTouch: Boolean, value: { type: Number, diff --git a/src/dialogs/more-info/controls/more-info-climate.html b/src/dialogs/more-info/controls/more-info-climate.html index 3f483416ec..e1394b5d4f 100644 --- a/src/dialogs/more-info/controls/more-info-climate.html +++ b/src/dialogs/more-info/controls/more-info-climate.html @@ -171,7 +171,8 @@ secondary-progress='[[stateObj.attributes.max_humidity]]' step='1' pin value='[[stateObj.attributes.humidity]]' - on-change='targetHumiditySliderChanged'> + on-change='targetHumiditySliderChanged' + ignore-bar-touch> diff --git a/src/dialogs/more-info/controls/more-info-cover.html b/src/dialogs/more-info/controls/more-info-cover.html index 2c3cb2a11a..232bab67c6 100644 --- a/src/dialogs/more-info/controls/more-info-cover.html +++ b/src/dialogs/more-info/controls/more-info-cover.html @@ -34,7 +34,8 @@ value='{{coverPositionSliderValue}}' step='1' pin disabled='[[!entityObj.supportsSetPosition]]' - on-change='coverPositionSliderChanged'> + on-change='coverPositionSliderChanged' + ignore-bar-touch>
@@ -48,7 +49,8 @@ value='{{coverTiltPositionSliderValue}}' step='1' pin disabled='[[!entityObj.supportsSetTiltPosition]]' - on-change='coverTiltPositionSliderChanged'> + on-change='coverTiltPositionSliderChanged' + ignore-bar-touch>
diff --git a/src/dialogs/more-info/controls/more-info-light.html b/src/dialogs/more-info/controls/more-info-light.html index 25e4f5a935..043142562d 100644 --- a/src/dialogs/more-info/controls/more-info-light.html +++ b/src/dialogs/more-info/controls/more-info-light.html @@ -66,7 +66,8 @@ + on-change='brightnessSliderChanged' + ignore-bar-touch>
@@ -74,14 +75,16 @@ caption='Color Temperature' icon='mdi:thermometer' min='[[stateObj.attributes.min_mireds]]' max='[[stateObj.attributes.max_mireds]]' value='{{ctSliderValue}}' - on-change='ctSliderChanged'> + on-change='ctSliderChanged' + ignore-bar-touch>
+ on-change='wvSliderChanged' + ignore-bar-touch>
- + diff --git a/src/dialogs/more-info/controls/more-info-media_player.html b/src/dialogs/more-info/controls/more-info-media_player.html index 8d903578ed..0e028e2551 100644 --- a/src/dialogs/more-info/controls/more-info-media_player.html +++ b/src/dialogs/more-info/controls/more-info-media_player.html @@ -91,7 +91,8 @@ icon="[[computeMuteVolumeIcon(isMuted)]]"> + on-change='volumeSliderChanged' class='flex' + ignore-bar-touch> diff --git a/src/state-summary/state-card-input_number.html b/src/state-summary/state-card-input_number.html index 1468433d0b..6918e46f30 100644 --- a/src/state-summary/state-card-input_number.html +++ b/src/state-summary/state-card-input_number.html @@ -41,7 +41,7 @@