Pilight without UUID

Hey there,

Every once in a while, my pilight daemon starts up without an UUID. This will always crash my HA, because the pilight component requires a UUID when processing the events:

def handle_received_code(data):
    """Called when RF codes are received."""
    # Unravel dict of dicts to make event_data cut in automation rule
    # possible
    data = dict({'protocol': data['protocol'], 'uuid': data['uuid']},
                **data['message'])

Has anyone else also experienced this problem? Is there a known fix for it?

Thanks!

Andreas