From 4d2e8705c82ea17cd48f188e57d2685d239b4875 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Fri, 29 Nov 2024 19:51:53 +0000 Subject: [PATCH] Presto: pass through SSID and password. --- modules/py_frozen/presto.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/py_frozen/presto.py b/modules/py_frozen/presto.py index d7c62be..cb511c1 100644 --- a/modules/py_frozen/presto.py +++ b/modules/py_frozen/presto.py @@ -44,8 +44,8 @@ def touch_delta(self): async def async_connect(self): await self.wifi.connect() - def connect(self): - return asyncio.get_event_loop().run_until_complete(self.wifi.connect()) + def connect(self, ssid=None, password=None): + return asyncio.get_event_loop().run_until_complete(self.wifi.connect(ssid, password)) def update(self): self.presto.update(self.display)