mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-01-20 15:40:24 +01:00
Fix sending Location in Telegram Plugin (Issue #94)
This commit is contained in:
parent
a74f28150d
commit
39a34f7c24
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue