Skip to content

Commit

Permalink
Fix incorrect message log level
Browse files Browse the repository at this point in the history
  • Loading branch information
uzlonewolf committed Jul 7, 2024
1 parent 3610184 commit a20b080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tinytuya/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def send_discovery_request( iface_list ):
if 'port' not in iface:
iface['port'] = 7000

log.warning( 'Sending discovery broadcast from %r to %r on port %r', address, iface['broadcast'], iface['port'] )
log.debug( 'Sending discovery broadcast from %r to %r on port %r', address, iface['broadcast'], iface['port'] )
# the official app always sends it twice, so do the same
iface['socket'].sendto( iface['payload'], (iface['broadcast'], iface['port']) )
iface['socket'].sendto( iface['payload'], (iface['broadcast'], iface['port']) )
Expand Down

0 comments on commit a20b080

Please sign in to comment.