mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-25 22:07:20 +00:00
Remove automatically including preset None (#3398)
This commit is contained in:
parent
4555bd4240
commit
9476557aee
@ -206,11 +206,6 @@ class MoreInfoClimate extends LitElement {
|
|||||||
.selected=${stateObj.attributes.preset_mode}
|
.selected=${stateObj.attributes.preset_mode}
|
||||||
@selected-changed=${this._handlePresetmodeChanged}
|
@selected-changed=${this._handlePresetmodeChanged}
|
||||||
>
|
>
|
||||||
<paper-item item-name="">
|
|
||||||
${hass.localize(
|
|
||||||
`state_attributes.climate.preset_mode.none`
|
|
||||||
)}
|
|
||||||
</paper-item>
|
|
||||||
${stateObj.attributes.preset_modes!.map(
|
${stateObj.attributes.preset_modes!.map(
|
||||||
(mode) => html`
|
(mode) => html`
|
||||||
<paper-item item-name=${mode}>
|
<paper-item item-name=${mode}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user