listener: fix misleading connection log message

This commit is contained in:
Peter F. Patel-Schneider 2020-08-27 08:24:35 -04:00
parent 4df84107e1
commit 1516daa6d0
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ class ReceiverListener(_listener.EventsListener):
# Apply settings every time the device connects
if n.sub_id == 0x41:
if _log.isEnabledFor(_INFO):
_log.info('%s triggered new device %s (%s)', n, dev, dev.kind)
_log.info('connection %s for %s (%s)', n, dev, dev.kind)
# If there are saved configs, bring the device's settings up-to-date.
# They will be applied when the device is marked as online.
configuration.attach_to(dev)