mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 17:57:55 +00:00
parent
2fe8e95309
commit
987cf8b9d0
@ -157,11 +157,14 @@ async def test_pushbullet_push_mixed(hass, requests_mock):
|
|||||||
)
|
)
|
||||||
entry.add_to_hass(hass)
|
entry.add_to_hass(hass)
|
||||||
assert await hass.config_entries.async_setup(entry.entry_id)
|
assert await hass.config_entries.async_setup(entry.entry_id)
|
||||||
|
await hass.async_block_till_done()
|
||||||
|
|
||||||
data = {
|
data = {
|
||||||
"title": "Test Title",
|
"title": "Test Title",
|
||||||
"message": "Test Message",
|
"message": "Test Message",
|
||||||
"target": ["device/DESKTOP", "email/user@host.net"],
|
"target": ["device/DESKTOP", "email/user@host.net"],
|
||||||
}
|
}
|
||||||
|
|
||||||
await hass.services.async_call(NOTIFY_DOMAIN, "pushbullet", data)
|
await hass.services.async_call(NOTIFY_DOMAIN, "pushbullet", data)
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user