platypush/plugins/zigbee/mqtt/__init__.py
def device_remove(self, device: str, force: bool = False, **kwargs):
        """
        Remove a device from the network.

        :param device: Display name of the device.
        :param force: Force the remove also if the removal wasn't acknowledged by the device. Note: a forced remove
            only removes the entry from the internal database, but the device is likely to connect again when
            restarted unless it's factory reset (default: False).
        :param kwargs: Extra arguments to be passed to :meth:`platypush.plugins.mqtt.MqttPlugin.publish``
            (default: query the default configured device).
        """
        return self._parse_response(
            self.publish(topic=self._topic('bridge/request/device/remove'),
                         msg={'id': device, 'force': force},
                         reply_topic=self._topic('bridge/response/device/remove'),
                         **self._mqtt_args(**kwargs)))

        Remove a device from the network.

        :param device: Display name of the device.
        :param force: Force the remove also if the removal wasn't acknowledged by the device. Note: a forced remove
            only removes the entry from the internal database, but the device is likely to connect again when
            restarted unless it's factory reset (default: False).
        :param kwargs: Extra arguments to be passed to :meth:`platypush.plugins.mqtt.MqttPlugin.publish``
            (default: query the default configured device).
        
Remove a device from the network.
Remove a device from the network .
def device_remove(self, device: str, force: bool = False, **kwargs):
        return self._parse_response(
            self.publish(topic=self._topic('bridge/request/device/remove'),
                         msg={'id': device, 'force': force},
                         reply_topic=self._topic('bridge/response/device/remove'),
                         **self._mqtt_args(**kwargs)))
def device_remove ( self , device : str , force : bool = False , ** kwargs ) : return self . _parse_response ( self . publish ( topic = self . _topic ( 'bridge/request/device/remove' ) , msg = { 'id' : device , 'force' : force } , reply_topic = self . _topic ( 'bridge/response/device/remove' ) , ** self . _mqtt_args ( ** kwargs ) ) )
Remove a device from the network.
Remove a device from the network .
"""
        Remove a device from the network.

        :param device: Display name of the device.
        :param force: Force the remove also if the removal wasn't acknowledged by the device. Note: a forced remove
            only removes the entry from the internal database, but the device is likely to connect again when
            restarted unless it's factory reset (default: False).
        :param kwargs: Extra arguments to be passed to :meth:`platypush.plugins.mqtt.MqttPlugin.publish``
            (default: query the default configured device).
        """
self
device
str
Display name of the device.
Display name of the device .
force
bool
Force the remove also if the removal wasn't acknowledged by the device. Note: a forced remove
only removes the entry from the internal database, but the device is likely to connect again when
restarted unless it's factory reset (default: False).
Force the remove also if the removal wasn ' t acknowledged by the device . Note : a forced remove only removes the entry from the internal database but the device is likely to connect again when restarted unless it ' s factory reset ( default : False ) .
kwargs
Extra arguments to be passed to :meth:`platypush.plugins.mqtt.MqttPlugin.publish``
(default: query the default configured device).
Extra arguments to be passed to : meth : ` platypush . plugins . mqtt . MqttPlugin . publish ` ` ( default : query the default configured device ) .