Fix missing unique id in SQL (#99641)
This commit is contained in:
parent
de73cafc8b
commit
b8f35fb577
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ async def async_setup_entry(
|
|||
value_template.hass = hass
|
||||
|
||||
name_template = Template(name, hass)
|
||||
trigger_entity_config = {CONF_NAME: name_template}
|
||||
trigger_entity_config = {CONF_NAME: name_template, CONF_UNIQUE_ID: entry.entry_id}
|
||||
for key in TRIGGER_ENTITY_OPTIONS:
|
||||
if key not in entry.options:
|
||||
continue
|
||||
|
|
Loading…
Add table
Reference in a new issue