From 65f7fc0532c8f1cd6910b8079cc8ff9cfdc9c472 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Sat, 27 Nov 2021 09:36:03 +0100 Subject: [PATCH] Fix lint errors of 0a7a477281cb6dfe1964834828f972903cf933f2 --- lib/util/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/utils.ts b/lib/util/utils.ts index d74f30a9..83152038 100644 --- a/lib/util/utils.ts +++ b/lib/util/utils.ts @@ -286,7 +286,7 @@ function publishLastSeen(data: eventdata.LastSeenChanged, settings: Settings, al * Prevent 2 MQTT publishes when 1 message event is received; * - In case reason == messageEmitted, receive.ts will only call this when it did not publish a * message based on the received zigbee message. In this case allowMessageEmitted has to be true. - * - In case reason !== messageEmitted, controller.ts will call this based on the zigbee-herdsman + * - In case reason !== messageEmitted, controller.ts will call this based on the zigbee-herdsman * lastSeenChanged event. */ const allow = data.reason !== 'messageEmitted' || (data.reason === 'messageEmitted' && allowMessageEmitted);