'Send a command via the EnOcean dongle.'

def send_command(self, data, optional, packet_type):

    from enocean.protocol.packet import Packet
    packet = Packet(packet_type, data=data, optional=optional)
    ENOCEAN_DONGLE.send_command(packet)
