diff --git a/src/components/entity/ha-entity-attribute-picker.ts b/src/components/entity/ha-entity-attribute-picker.ts index 909526c110..b8265961ce 100644 --- a/src/components/entity/ha-entity-attribute-picker.ts +++ b/src/components/entity/ha-entity-attribute-picker.ts @@ -80,6 +80,7 @@ class HaEntityAttributePicker extends LitElement { .value=${this._value} .allowCustomValue=${this.allowCustomValue} .renderer=${rowRenderer} + attr-for-value="bind-value" @opened-changed=${this._openedChanged} @value-changed=${this._valueChanged} > diff --git a/src/panels/lovelace/editor/config-elements/hui-weather-forecast-card-editor.ts b/src/panels/lovelace/editor/config-elements/hui-weather-forecast-card-editor.ts index cd7327a783..614a83c41b 100644 --- a/src/panels/lovelace/editor/config-elements/hui-weather-forecast-card-editor.ts +++ b/src/panels/lovelace/editor/config-elements/hui-weather-forecast-card-editor.ts @@ -13,6 +13,7 @@ import { computeRTLDirection } from "../../../../common/util/compute_rtl"; import "../../../../components/entity/ha-entity-picker"; import "../../../../components/ha-formfield"; import "../../../../components/ha-switch"; +import "../../../../components/entity/ha-entity-attribute-picker"; import { HomeAssistant } from "../../../../types"; import { WeatherForecastCardConfig } from "../../cards/types"; import "../../components/hui-theme-select-editor"; @@ -102,7 +103,9 @@ export class HuiWeatherForecastCardEditor extends LitElement >