From 39a34f7c248d31a44238d2b21cb70da617233ce3 Mon Sep 17 00:00:00 2001 From: Jan Speller Date: Sat, 21 May 2022 16:44:12 +0200 Subject: [PATCH] Fix sending Location in Telegram Plugin (Issue #94) --- plugin/telegram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/telegram.py b/plugin/telegram.py index 9bc5ef1..c4fcbee 100644 --- a/plugin/telegram.py +++ b/plugin/telegram.py @@ -85,7 +85,7 @@ class BoswatchPlugin(PluginBase): if bwPacket.get("lat") is not None and bwPacket.get("lon") is not None: logging.debug("Found coordinates in packet") (lat, lon) = (bwPacket.get("lat"), bwPacket.get("lon")) - self._sendMessage(lat, lon) + self._sendLocation(lat, lon) def zvei(self, bwPacket): """!Called on ZVEI alarm