Skip to content

Commit

Permalink
Disable the watchdog task until a stable solution is found (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly authored Dec 11, 2023
1 parent 8314dcd commit 6478c4f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
8 changes: 0 additions & 8 deletions tests/test_application.py
Original file line number Diff line number Diff line change
Expand Up @@ -866,11 +866,3 @@ async def test_routes_updated(app, device):
assert router2.radio_details.call_count == 0

app._api._at_command.assert_awaited_once_with("DB")


async def test_watchdog(app):
"""Test watchdog feed method."""
app._api._at_command = mock.AsyncMock(return_value="OK")
await app._watchdog_feed()

assert app._api._at_command.mock_calls == [mock.call("VR")]
3 changes: 0 additions & 3 deletions zigpy_xbee/zigbee/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ def __init__(self, config: dict[str, Any]):
self._api: zigpy_xbee.api.XBee | None = None
self.topology.add_listener(self)

async def _watchdog_feed(self):
await self._api._at_command("VR")

async def disconnect(self):
"""Shutdown application."""
if self._api:
Expand Down

0 comments on commit 6478c4f

Please sign in to comment.