mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 08:46:35 +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=${after?.startsWith("input_datetime.") ? after : ""}
|
||||||
@value-changed=${this._valueChanged}
|
@value-changed=${this._valueChanged}
|
||||||
.hass=${this.hass}
|
.hass=${this.hass}
|
||||||
|
allow-custom-entity
|
||||||
></ha-entity-picker>`
|
></ha-entity-picker>`
|
||||||
: html`<paper-input
|
: html`<paper-input
|
||||||
.label=${this.hass.localize(
|
.label=${this.hass.localize(
|
||||||
|
@ -68,6 +68,7 @@ export class HaTimeTrigger extends LitElement implements TriggerElement {
|
|||||||
.value=${at?.startsWith("input_datetime.") ? at : ""}
|
.value=${at?.startsWith("input_datetime.") ? at : ""}
|
||||||
@value-changed=${this._valueChanged}
|
@value-changed=${this._valueChanged}
|
||||||
.hass=${this.hass}
|
.hass=${this.hass}
|
||||||
|
allow-custom-entity
|
||||||
></ha-entity-picker>`
|
></ha-entity-picker>`
|
||||||
: html`<paper-input
|
: html`<paper-input
|
||||||
.label=${this.hass.localize(
|
.label=${this.hass.localize(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user