mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 16:26:43 +00:00
Fix empty entity pickers for "Time" trigger and condition (#7689)
This commit is contained in:
parent
90f7dba793
commit
4c6f9f0dd8
@ -94,6 +94,7 @@ export class HaTimeCondition extends LitElement implements ConditionElement {
|
||||
.value=${after?.startsWith("input_datetime.") ? after : ""}
|
||||
@value-changed=${this._valueChanged}
|
||||
.hass=${this.hass}
|
||||
allow-custom-entity
|
||||
></ha-entity-picker>`
|
||||
: html`<paper-input
|
||||
.label=${this.hass.localize(
|
||||
|
@ -68,6 +68,7 @@ export class HaTimeTrigger extends LitElement implements TriggerElement {
|
||||
.value=${at?.startsWith("input_datetime.") ? at : ""}
|
||||
@value-changed=${this._valueChanged}
|
||||
.hass=${this.hass}
|
||||
allow-custom-entity
|
||||
></ha-entity-picker>`
|
||||
: html`<paper-input
|
||||
.label=${this.hass.localize(
|
||||
|
Loading…
x
Reference in New Issue
Block a user