diff --git a/.github/workflows/run_pytest.yml b/.github/workflows/run_pytest.yml index 9ed7032..a047d48 100644 --- a/.github/workflows/run_pytest.yml +++ b/.github/workflows/run_pytest.yml @@ -8,16 +8,16 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: [3.7, 3.8, 3.9, 3.10.2] + python-version: ['3.7', '3.8', '3.9', '3.10'] runs-on: ${{matrix.os}} steps: - uses: actions/checkout@v1 - name: Set up Python ${{matrix.python-version}} at ${{matrix.os}} - uses: actions/setup-python@v1 + uses: actions/setup-python@v3 with: - python-version: ${{matrix.python-version}} + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | 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