Fix yamaha discovery (#64056)
Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
parent
c495317a71
commit
c8043eccc9
2 changed files with 5 additions and 11 deletions
|
@ -74,12 +74,6 @@ async def test_setup_no_host(hass, device, main_zone):
|
|||
|
||||
async def test_setup_discovery(hass, device, main_zone):
|
||||
"""Test set up integration via discovery."""
|
||||
with patch("rxv.find", return_value=[device]):
|
||||
assert await async_setup_component(
|
||||
hass, "media_player", {"media_player": {"platform": "yamaha"}}
|
||||
)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
discovery_info = {
|
||||
"name": "Yamaha Receiver",
|
||||
"model_name": "Yamaha",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue