mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 02:19:31 +00:00
Handle service calls that do not refer entity IDs (#31317)
This commit is contained in:
@@ -201,6 +201,10 @@ class Script:
|
||||
continue
|
||||
|
||||
entity_ids = data.get(ATTR_ENTITY_ID)
|
||||
|
||||
if entity_ids is None:
|
||||
continue
|
||||
|
||||
if isinstance(entity_ids, str):
|
||||
entity_ids = [entity_ids]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user