@track_state_change(device_tracker.ENTITY_ID_ALL_DEVICES)
def track_devices(hass, entity_id, old_state, new_state):
    # If the target id is not set, return
    if not TARGET_ID:
        return

    # If anyone comes home and the entity is not on, turn it on.
    if new_state.state == STATE_HOME and not core.is_on(hass, TARGET_ID):

        core.turn_on(hass, TARGET_ID)

    # If all people leave the house and the entity is on, turn it off.
    elif new_state.state == STATE_NOT_HOME and core.is_on(hass, TARGET_ID):

        core.turn_off(hass, TARGET_ID)
convert a refseq gtf formatted file into an ensembl like
dataset/ETHPy150Open home-assistant/home-assistant/config/custom_components/example.py/track_devices--crossover with--dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_snps.py/importRefseq