From 9e66ac78f898942c5333c5843794433eda624fc4 Mon Sep 17 00:00:00 2001 From: Jokob-sk Date: Tue, 30 Jan 2024 22:24:01 +1100 Subject: [PATCH] NSLOOKUP v0.1.5 --- pialert/helper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pialert/helper.py b/pialert/helper.py index 8ca286a4..0c1f53e4 100755 --- a/pialert/helper.py +++ b/pialert/helper.py @@ -512,7 +512,8 @@ def cleanDeviceName(str, match_IP): # alternative str.split('.')[0] str = str.replace("._airplay", "") str = str.replace("._tcp", "") - str = str.replace(".local", "") + str = str.replace(".localdomain", "") + str = str.replace(".local", "") str = str.replace("._esphomelib", "") str = str.replace("._googlecast", "") str = str.replace(".lan", "")