mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 02:19:31 +00:00
Fix referenced entity extraction when service call entity contains a template (#41107)
This commit is contained in:
@@ -850,7 +850,7 @@ class Script:
|
||||
|
||||
entity_ids = data.get(ATTR_ENTITY_ID)
|
||||
|
||||
if entity_ids is None:
|
||||
if entity_ids is None or isinstance(entity_ids, template.Template):
|
||||
continue
|
||||
|
||||
if isinstance(entity_ids, str):
|
||||
|
||||
Reference in New Issue
Block a user