Fix yamaha discovery (#64056)

Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
epenet 2022-01-13 15:32:39 +01:00 committed by GitHub
parent c495317a71
commit c8043eccc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 11 deletions

View file

@ -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",