Handle service calls that do not refer entity IDs (#31317)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-01-30 09:28:06 -08:00
1 parent 24f4f53f16
commit d24e397a80
2 files changed
+5

No files matched your search

+4
View File
@@ -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]