File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ const definitions: DefinitionWithExtend[] = [
271
271
if ( [ 'start' , 'deviceAnnounce' ] . includes ( type ) ) {
272
272
await poll ( device ) ;
273
273
if ( ! globalStore . hasValue ( device , 'interval' ) ) {
274
- const interval = setInterval ( async ( ) => await poll ( device ) , 10 * 1000 ) ;
274
+ const interval = setInterval ( async ( ) => await poll ( device ) , 300 * 1000 ) ;
275
275
globalStore . putValue ( device , 'interval' , interval ) ;
276
276
}
277
277
}
@@ -312,7 +312,7 @@ const definitions: DefinitionWithExtend[] = [
312
312
if ( [ 'start' , 'deviceAnnounce' ] . includes ( type ) ) {
313
313
await poll ( device ) ;
314
314
if ( ! globalStore . hasValue ( device , 'interval' ) ) {
315
- const interval = setInterval ( async ( ) => await poll ( device ) , 60 * 1000 ) ;
315
+ const interval = setInterval ( async ( ) => await poll ( device ) , 300 * 1000 ) ;
316
316
globalStore . putValue ( device , 'interval' , interval ) ;
317
317
}
318
318
}
You can’t perform that action at this time.
0 commit comments