Skip to content

Commit

Permalink
change some log level for uart
Browse files Browse the repository at this point in the history
  • Loading branch information
DamKast committed Nov 14, 2023
1 parent 3c2d525 commit 8b8731e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zigpy_zboss/uart.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ async def connect(config: conf.ConfigType, api) -> ZbossNcpProtocol:
baudrate = config[conf.CONF_DEVICE_BAUDRATE]
flow_control = config[conf.CONF_DEVICE_FLOW_CONTROL]

LOGGER.info("Connecting to %s at %s baud", port, baudrate)
LOGGER.debug("Connecting to %s at %s baud", port, baudrate)

_, protocol = await zigpy.serial.create_serial_connection(
loop=loop,
Expand All @@ -293,4 +293,6 @@ async def connect(config: conf.ConfigType, api) -> ZbossNcpProtocol:
protocol.close()
raise RuntimeError("Could not communicate with NCP!")

LOGGER.debug("Connected to %s at %s baud", port, baudrate)

return protocol

0 comments on commit 8b8731e

Please sign in to comment.