Fix extracting entity and device IDs from scripts (#44048)
* Fix extracting entity and device IDs from scripts * Fix extracting from data_template
This commit is contained in:
parent
0b7b6b1d81
commit
ac2af69d26
5 changed files with 86 additions and 27 deletions
|
@ -1254,3 +1254,6 @@ async def test_blueprint_automation(hass, calls):
|
|||
hass.bus.async_fire("blueprint_event")
|
||||
await hass.async_block_till_done()
|
||||
assert len(calls) == 1
|
||||
assert automation.entities_in_automation(hass, "automation.automation_0") == [
|
||||
"light.kitchen"
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue