From 486333d342ef02ad4fa96cda25319da07f127190 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Tue, 17 Aug 2021 16:45:20 +0200 Subject: [PATCH] Fix typo. https://github.com/Koenkk/zigbee2mqtt/commit/773de25657f52b24a33c49c5565f6881ff611f7d --- lib/extension/availabilityNew.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/extension/availabilityNew.ts b/lib/extension/availabilityNew.ts index 65b40990..f2e9a5a3 100644 --- a/lib/extension/availabilityNew.ts +++ b/lib/extension/availabilityNew.ts @@ -67,10 +67,10 @@ class AvailabilityNew extends ExtensionTS { try { await re.device.ping(); pingedSuccessfully = true; - logger.debug(`Succesfully pinged '${re.name}' (attemp ${i + 1}/${attempts})`); + logger.debug(`Succesfully pinged '${re.name}' (attempt ${i + 1}/${attempts})`); break; } catch (error) { - logger.error(`Failed to ping '${re.name}' (attemp ${i + 1}/${attempts}, ${error.message})`); + logger.error(`Failed to ping '${re.name}' (attempt ${i + 1}/${attempts}, ${error.message})`); // Try again in 3 seconds. const lastAttempt = i - 1 === attempts; !lastAttempt && await sleep(3);