From 9a3f0a4c8ab4e159f650523dfb1e73518ffa632a Mon Sep 17 00:00:00 2001 From: ludeeus Date: Wed, 8 Aug 2018 10:23:38 +0200 Subject: [PATCH] Added 'Serving /auth/token' --- custom_components/sensor/authenticated.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/sensor/authenticated.py b/custom_components/sensor/authenticated.py index 0a7ceec..f5bec1c 100644 --- a/custom_components/sensor/authenticated.py +++ b/custom_components/sensor/authenticated.py @@ -154,7 +154,7 @@ def update(self): get_ip = [] with open(self._log) as f: for line in f.readlines(): - if '(auth: True)' in line: + if '(auth: True)' in line or 'Serving /auth/token' in line: get_ip.append(line) if not get_ip: _LOGGER.debug('No IP Addresses found in the log...')