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...')