From ab4e1fddd5fe48aad2448dc6ad74bacbfefda4ac Mon Sep 17 00:00:00 2001 From: Andrew Chatham Date: Fri, 11 Jan 2019 14:34:32 -0800 Subject: [PATCH] Fix the anthemav component by removing a debugging line. (#19979) This lane ended up calling vars(transport) on an asyncio Transport object. In a standard setup, that's a python object provided by syncio, and it works. Home Assistant injects uvloop into asyncio, which makes this a Python C object, and those don't support vars(). --- homeassistant/components/media_player/anthemav.py | 1 - 1 file changed, 1 deletion(-) diff --git a/homeassistant/components/media_player/anthemav.py b/homeassistant/components/media_player/anthemav.py index f1954a1d37e..0a9f208dae4 100644 --- a/homeassistant/components/media_player/anthemav.py +++ b/homeassistant/components/media_player/anthemav.py @@ -59,7 +59,6 @@ async def async_setup_platform(hass, config, async_add_entities, _LOGGER.debug("dump_devicedata: %s", device.dump_avrdata) _LOGGER.debug("dump_conndata: %s", avr.dump_conndata) - _LOGGER.debug("dump_rawdata: %s", avr.protocol.dump_rawdata) hass.bus.async_listen_once(EVENT_HOMEASSISTANT_STOP, device.avr.close) async_add_entities([device])