@@ -74,7 +74,7 @@ async def download_koenkk_ota(listener, ota_dir):
74
74
try :
75
75
out_filename = os .path .join (ota_dir , filename )
76
76
77
- LOGGER .info ("Download '%s' to '%s'" , url , out_filename )
77
+ LOGGER .debug ("Download '%s' to '%s'" , url , out_filename )
78
78
async with req .get (url ) as rsp :
79
79
data = await rsp .read ()
80
80
@@ -145,7 +145,7 @@ async def download_sonoff_ota(listener, ota_dir):
145
145
try :
146
146
out_filename = os .path .join (ota_dir , filename )
147
147
148
- LOGGER .info ("Download '%s' to '%s'" , url , out_filename )
148
+ LOGGER .debug ("Download '%s' to '%s'" , url , out_filename )
149
149
async with req .get (url ) as rsp :
150
150
data = await rsp .read ()
151
151
@@ -165,12 +165,12 @@ async def download_zigpy_ota(app, listener):
165
165
await ota .refresh_firmware_list ()
166
166
for image_key , image in ota ._cache .items ():
167
167
url = getattr (image , "url" , None )
168
- LOGGER .error ("Try getting %r, %r, %r" , image_key , url , image )
168
+ LOGGER .debug ("Try getting %r, %r, %r" , image_key , url , image )
169
169
try :
170
170
img = await app .ota .get_ota_image (
171
171
image_key .manufacturer_id , image_key .image_type , model = None
172
172
)
173
- LOGGER .info ("Got image %r" , getattr (img , "header" , None ))
173
+ LOGGER .debug ("Got image %r" , getattr (img , "header" , None ))
174
174
except Exception as e :
175
175
LOGGER .error ("%r while getting %r - %s" , e , image_key , url )
176
176
0 commit comments