mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
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:
parent
b9a488912a
commit
ab4e1fddd5
@ -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])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user