1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-02 00:27:49 +01:00

Fix target item loading error (#51326)

This commit is contained in:
Aidan Timson
2026-04-01 09:43:42 +01:00
committed by GitHub
parent 85d461f0fd
commit fa633efc87

View File

@@ -2051,7 +2051,8 @@ class DialogAddAutomationElement
this.hass.localize,
items,
getTriggerDomain,
this._getTriggerListItem
(localize, domain, trigger) =>
this._getTriggerListItem(localize, domain, trigger)
);
if (this._selectedTarget.entity_id) {
grouped.push({
@@ -2074,7 +2075,8 @@ class DialogAddAutomationElement
this.hass.localize,
items,
getConditionDomain,
this._getConditionListItem
(localize, domain, condition) =>
this._getConditionListItem(localize, domain, condition)
);
if (this._selectedTarget.entity_id) {
grouped.push({