mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Fix missing unique id in SQL (#99641)
This commit is contained in:
parent
2a7c12013f
commit
f0cf539e15
@ -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…
x
Reference in New Issue
Block a user