def prepare_message(self, data=None):
        """
        Return message as dict
        :return dict
        """
        message = {
            'protocol': self.protocol,
            'node': self._node,
            'chip_id': self._chip_id,
            'event': '',
            'parameters': {},
            'response': '',
            'targets': [
                'ALL'
            ]
        }
        if type(data) is dict:
            for k, v in data.items():
                if k in message:
                    message[k] = v

        return message