platypush/plugins/zigbee/mqtt/__init__.py
def group_add_device(self, group: str, device: str, **kwargs):
        """
        Add a device to a group.

        :param group: Display name of the group.
        :param device: Display name of the device to be added.
        :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/group/members/add'),
                         reply_topic=self._topic('bridge/response/group/members/add'),
                         msg={
                             'group': group,
                             'device': device,
                         }, **self._mqtt_args(**kwargs)))

        Add a device to a group.

        :param group: Display name of the group.
        :param device: Display name of the device to be added.
        :param kwargs: Extra arguments to be passed to :meth:`platypush.plugins.mqtt.MqttPlugin.publish``
            (default: query the default configured device).
        
Add a device to a group.
Add a device to a group .
def group_add_device(self, group: str, device: str, **kwargs):
        return self._parse_response(
            self.publish(topic=self._topic('bridge/request/group/members/add'),
                         reply_topic=self._topic('bridge/response/group/members/add'),
                         msg={
                             'group': group,
                             'device': device,
                         }, **self._mqtt_args(**kwargs)))
def group_add_device ( self , group : str , device : str , ** kwargs ) : return self . _parse_response ( self . publish ( topic = self . _topic ( 'bridge/request/group/members/add' ) , reply_topic = self . _topic ( 'bridge/response/group/members/add' ) , msg = { 'group' : group , 'device' : device , } , ** self . _mqtt_args ( ** kwargs ) ) )
Add a device to a group.
Add a device to a group .
"""
        Add a device to a group.

        :param group: Display name of the group.
        :param device: Display name of the device to be added.
        :param kwargs: Extra arguments to be passed to :meth:`platypush.plugins.mqtt.MqttPlugin.publish``
            (default: query the default configured device).
        """
self
group
str
Display name of the group.
Display name of the group .
device
str
Display name of the device to be added.
Display name of the device to be added .
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 ) .