File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,11 +166,10 @@ export class TempStickAccessory {
166166 `Next Checkin is invalid: ${ this . accessory . context . device . next_checkin } ` ,
167167 `Unsuccessfully parsed the next checkin date of the sensor ${ this . accessory . context . sensor_id } ` ) ) ;
168168 }
169- let timeBetweenSubsequent = parseInt ( this . accessory . context . device . send_interval ) * 1000 + sensorDelay ;
169+ const timeBetweenSubsequent = parseInt ( this . accessory . context . device . send_interval ) * 1000 + sensorDelay ;
170170 // Add additional user defined delay from plugin configuration, in seconds, to milliseconds
171171 if ( this . platform . config . delay ) {
172172 timeToNext += ( parseInt ( this . platform . config . delay ) * 1000 ) ;
173- timeBetweenSubsequent += ( parseInt ( this . platform . config . delay ) * 1000 ) ;
174173 }
175174 const initialRun = setInterval ( async ( ) => {
176175 // only run the initial once to get on the correct sensor send_interval to retrieve sensor results as soon as possible
You can’t perform that action at this time.
0 commit comments