mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-21 06:03:50 +00:00
Fix sending Location in Telegram Plugin (Issue #94)
This commit is contained in:
parent
a74f28150d
commit
39a34f7c24
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ class BoswatchPlugin(PluginBase):
|
||||||
if bwPacket.get("lat") is not None and bwPacket.get("lon") is not None:
|
if bwPacket.get("lat") is not None and bwPacket.get("lon") is not None:
|
||||||
logging.debug("Found coordinates in packet")
|
logging.debug("Found coordinates in packet")
|
||||||
(lat, lon) = (bwPacket.get("lat"), bwPacket.get("lon"))
|
(lat, lon) = (bwPacket.get("lat"), bwPacket.get("lon"))
|
||||||
self._sendMessage(lat, lon)
|
self._sendLocation(lat, lon)
|
||||||
|
|
||||||
def zvei(self, bwPacket):
|
def zvei(self, bwPacket):
|
||||||
"""!Called on ZVEI alarm
|
"""!Called on ZVEI alarm
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue