@classmethod
def _parse_task_item(cls, item):
    """Parse point/name:state or name.point:state syntax."""
    if ':' in item:
        head, state_str = item.rsplit(':', 1)
    else:
        head, state_str = item, None
    if '/' in head:
        point_str, name_str = head.split('/', 1)
    elif '.' in head:
        name_str, point_str = head.split('.', 1)
    else:
        name_str, point_str = head, None
    return point_str, name_str, state_str
