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().
This commit is contained in:
Andrew Chatham 2019-01-11 14:34:32 -08:00 committed by Fabian Affolter
parent b9a488912a
commit ab4e1fddd5

View File

@ -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_devicedata: %s", device.dump_avrdata)
_LOGGER.debug("dump_conndata: %s", avr.dump_conndata) _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) hass.bus.async_listen_once(EVENT_HOMEASSISTANT_STOP, device.avr.close)
async_add_entities([device]) async_add_entities([device])