def _broadcast_message(self, amount):
    for i in range(amount):
        self.server_socket.sendto(self.roomba_message.encode(), (self.udp_address, self.udp_port))
        self.log.debug(('Broadcast message sent: ' + str(i)))
def _broadcast_message(self, amount):
    for i in range(amount):
        self.server_socket.sendto(self.roomba_message.encode(), (self.udp_address, self.udp_port))
        self.log.debug(('Broadcast message sent: ' + str(i)))