Remove automatically including preset None (#3398)

This commit is contained in:
Paulus Schoutsen 2019-07-20 17:32:35 -07:00 committed by GitHub
parent 4555bd4240
commit 9476557aee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,11 +206,6 @@ class MoreInfoClimate extends LitElement {
.selected=${stateObj.attributes.preset_mode}
@selected-changed=${this._handlePresetmodeChanged}
>
<paper-item item-name="">
${hass.localize(
`state_attributes.climate.preset_mode.none`
)}
</paper-item>
${stateObj.attributes.preset_modes!.map(
(mode) => html`
<paper-item item-name=${mode}>