Fix referenced entity extraction when service call entity contains a template (#41107)

This commit is contained in:
Franck Nijhof authored and GitHub committed 2020-10-03 20:55:59 +02:00
1 parent 00b3b9f183
commit 38d132addd
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -1332,6 +1332,10 @@ async def test_referenced_entities(hass):
"service": "test.script",
"data": {"entity_id": ["light.service_list"]},
},
{
"service": "test.script",
"data": {"entity_id": "{{ 'light.service_template' }}"},
},
{
"condition": "state",
"entity_id": "sensor.condition",