platypush/plugins/esp/__init__.py
def i2c_scan(self, **kwargs) -> List[int]:
        """
        Scan for device addresses on the I2C bus.

        :param kwargs: Parameters to pass to :meth:`platypush.plugins.esp.EspPlugin.i2c_open` and
            :meth:`platypush.plugins.esp.EspPlugin.execute`.
        :return: List of 7-bit addresses.
        """
        self.i2c_open(**kwargs)
        return self.execute('i2c.scan', **kwargs).output

        Scan for device addresses on the I2C bus.

        :param kwargs: Parameters to pass to :meth:`platypush.plugins.esp.EspPlugin.i2c_open` and
            :meth:`platypush.plugins.esp.EspPlugin.execute`.
        :return: List of 7-bit addresses.
        
Scan for device addresses on the I2C bus.
Scan for device addresses on the I2C bus .
def i2c_scan(self, **kwargs) -> List[int]:
        self.i2c_open(**kwargs)
        return self.execute('i2c.scan', **kwargs).output
def i2c_scan ( self , ** kwargs ) -> List [ int ] : self . i2c_open ( ** kwargs ) return self . execute ( 'i2c.scan' , ** kwargs ) . output
Scan for device addresses on the I2C bus.
Scan for device addresses on the I2C bus .
"""
        Scan for device addresses on the I2C bus.

        :param kwargs: Parameters to pass to :meth:`platypush.plugins.esp.EspPlugin.i2c_open` and
            :meth:`platypush.plugins.esp.EspPlugin.execute`.
        :return: List of 7-bit addresses.
        """
List of 7-bit addresses.
List of 7 - bit addresses .
self
kwargs
Parameters to pass to :meth:`platypush.plugins.esp.EspPlugin.i2c_open` and
:meth:`platypush.plugins.esp.EspPlugin.execute`.
Parameters to pass to : meth : ` platypush . plugins . esp . EspPlugin . i2c_open ` and : meth : ` platypush . plugins . esp . EspPlugin . execute ` .