platypush/plugins/esp/__init__.py
def wifi_disconnect(self, **kwargs):
        """
        Disconnect from the currently connected WiFi network

        :param kwargs: Parameters to pass to :meth:`platypush.plugins.esp.EspPlugin.execute`.
        """
        code = '''
import network
wlan = network.WLAN(network.STA_IF)
wlan.disconnect()
'''
        self.execute(code, **kwargs)

        Disconnect from the currently connected WiFi network

        :param kwargs: Parameters to pass to :meth:`platypush.plugins.esp.EspPlugin.execute`.
        
Disconnect from the currently connected WiFi network
Disconnect from the currently connected WiFi network
def wifi_disconnect(self, **kwargs):
        code = '''
import network
wlan = network.WLAN(network.STA_IF)
wlan.disconnect()
'''
        self.execute(code, **kwargs)
def wifi_disconnect ( self , ** kwargs ) : code = '''
import network
wlan = network.WLAN(network.STA_IF)
wlan.disconnect()
''' self . execute ( code , ** kwargs )
Disconnect from the currently connected WiFi network
Disconnect from the currently connected WiFi network
"""
        Disconnect from the currently connected WiFi network

        :param kwargs: Parameters to pass to :meth:`platypush.plugins.esp.EspPlugin.execute`.
        """
self
kwargs
Parameters to pass to :meth:`platypush.plugins.esp.EspPlugin.execute`.
Parameters to pass to : meth : ` platypush . plugins . esp . EspPlugin . execute ` .